-
Notifications
You must be signed in to change notification settings - Fork 4.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
Test waiting on #10990
Test waiting on #10990
Conversation
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 are there so many style changes?
Please minimize to the "4 lines" mentioned.
No need to change and review other lines.
Thanks 😊
@@ -162,5 +162,9 @@ TEST_CASE( "Not invoked flush timeout expected" ) | |||
invoked.wait_until( timeout, [&]() { return invoked; } ); | |||
auto wait_time = sw.get_elapsed(); | |||
|
|||
INFO( wait_time.count() ); | |||
INFO( timeout.count() ); |
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.
What is the difference between
wait_time
and wait_time.count()
?
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.
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.
No difference. Fixed it and pushed a new commit.
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.
Great, let's see and catch this issue :)
added to the last test case 4 lines in order to receive more information when the test fails