-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
Increase timeout for object manager valgrind tests #4027
Conversation
@@ -342,27 +345,27 @@ class TestObjectManager : public TestObjectManagerBase { | |||
case 0: { | |||
// Ensure timeout_ms = 0 is handled correctly. | |||
// Out of 5 objects, we expect 3 ready objects and 2 remaining objects. | |||
TestWait(600, 5, 3, /*timeout_ms=*/0, false, false); | |||
TestWait(100, 5, 3, /*timeout_ms=*/0, false, 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.
Is decreasing the object size intentional here?
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.
Yes, to put it back under the inline objects limit.
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.
I see, shouldn't we test both?
Test FAILed. |
Test FAILed. |
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.
Thanks for fix this! I left a minor comment.
# Use timeout=1000ms for the Wait tests. | ||
$CORE_DIR/src/ray/object_manager/object_manager_test $STORE_EXEC 1000 | ||
# Run tests again with inlined objects. | ||
$CORE_DIR/src/ray/object_manager/object_manager_test $STORE_EXEC 1000 |
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.
Why use the same parameters for the same test? Is true
missing?
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.
Ah, thank you! I added it.
Test FAILed. |
Jenkins retest this please |
Test PASSed. |
What do these changes do?
Since the inlined objects PR (#3756) was merged, one of the object manager tests was failing on valgrind due to a timing issue. This increases the timeout when running in valgrind.
This also removes an unnecessary data copy when retrieving the inline object data.
Related issue number
Closes #3979.