Skip to content

Commit f4cb10e

Browse files
committed
Sleep 6 seconds before unlocking PSTOP
If URsim's time in the container is running a bit slower than the caller's time, we raise an error.
1 parent 9c1d40d commit f4cb10e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_ur_driver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ TEST_F(UrDriverTest, read_error_code)
268268
ASSERT_EQ(error_codes.at(0).message_argument, 0);
269269

270270
// Wait for after PSTOP before clearing it
271-
std::this_thread::sleep_for(std::chrono::seconds(5));
271+
std::this_thread::sleep_for(std::chrono::seconds(6));
272272

273273
EXPECT_TRUE(g_dashboard_client->commandCloseSafetyPopup());
274274
EXPECT_TRUE(g_dashboard_client->commandUnlockProtectiveStop());

0 commit comments

Comments
 (0)