Skip to content
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

fix: modify some tests #1380

Merged
merged 8 commits into from May 6, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion gazebo_ros/test/test_sim_time.cpp
Expand Up @@ -88,7 +88,7 @@ TEST_F(TestSimTime, TestClock)
EXPECT_GT(rclcpp::Time(msgs[i]->clock), rclcpp::Time(msgs[i - 1]->clock)) <<
rclcpp::Time(msgs[i]->clock).nanoseconds() << " " <<
rclcpp::Time(msgs[i - 1]->clock).nanoseconds();
EXPECT_GT(times[i], times[i - 1]) << times[i].nanoseconds() << " " <<
EXPECT_GE(times[i], times[i - 1]) << times[i].nanoseconds() << " " <<
jacobperron marked this conversation as resolved.
Show resolved Hide resolved
times[i - 1].nanoseconds();

// The message from the clock should be close to the node's time
Expand Down