-
Notifications
You must be signed in to change notification settings - Fork 5.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[core] [easy] [no-op] No gtest code in production code #49359
Conversation
Signed-off-by: dentiny <dentinyhao@gmail.com>
b7148ae
to
a994c82
Compare
Test failures. |
For my change, compilation is enough |
sched_cls_cap_enabled_(RayConfig::instance().worker_cap_enabled()), | ||
sched_cls_cap_interval_ms_(sched_cls_cap_interval_ms), | ||
sched_cls_cap_max_ms_(RayConfig::instance().worker_cap_max_backoff_delay_ms()) {} | ||
|
||
void LocalTaskManager::QueueAndScheduleTask(std::shared_ptr<internal::Work> work) { | ||
// If the local node is draining, the cluster task manager will | ||
// guarantee that the local node is not selected for scheduling. | ||
ASSERT_FALSE( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
which #import
did this macro get in from? Shall we also remove that macro, and maybe in bazel target deps?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For our build file organization, it's not easy to check by bazel target dependency, since we place all files into one giant target.
Lines 675 to 695 in 2dd6061
ray_cc_library( | |
name = "raylet_lib", | |
srcs = glob( | |
[ | |
"src/ray/raylet/**/*.cc", | |
], | |
exclude = [ | |
"src/ray/raylet/**/*_test.cc", | |
"src/ray/raylet/scheduling/**/*.cc", | |
"src/ray/raylet/main.cc", | |
], | |
), | |
hdrs = glob( | |
[ | |
"src/ray/raylet/**/*.h", | |
], | |
exclude = [ | |
"src/ray/raylet/scheduling/**/*.h", | |
"src/ray/raylet/main.cc", | |
], | |
), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sad news
raylet crash in ci |
Close it temporarily, reopen when I got more b/w |
As titled, shouldn't have gtest assertion code in production; also some minor updates.