Skip to content

Commit 915f5ae

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 04b7ebf commit 915f5ae

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
@@ -402,7 +402,7 @@ TEST_F(UrDriverTest, read_error_code)
402402
ASSERT_EQ(error_codes.at(0).message_argument, 0);
403403

404404
// Wait for after PSTOP before clearing it
405-
std::this_thread::sleep_for(std::chrono::seconds(5));
405+
std::this_thread::sleep_for(std::chrono::seconds(6));
406406

407407
EXPECT_TRUE(g_dashboard_client->commandCloseSafetyPopup());
408408
EXPECT_TRUE(g_dashboard_client->commandUnlockProtectiveStop());

0 commit comments

Comments
 (0)