Skip to content
Snippets Groups Projects
Commit 4885fcbc authored by Martin Killenberg's avatar Martin Killenberg
Browse files

all tests working when the tests are not hacked...

parent 51dbf814
No related branches found
No related tags found
No related merge requests found
......@@ -253,7 +253,7 @@ BOOST_AUTO_TEST_CASE(testInitialisationException) {
CHECK_EQUAL_TIMEOUT(test.readScalar<std::string>(ctk::RegisterPath("/Devices") / deviceCDD / "message"), exceptionMessage, 3000);
// Now fix the initialisation error and check that the device comes up.
//throwInInitialisation = false;
throwInInitialisation = false;
// Wait until the device is OK again
CHECK_EQUAL_TIMEOUT(test.readScalar<int32_t>(ctk::RegisterPath("/Devices") / deviceCDD / "status"), 0, 3000);
CHECK_EQUAL_TIMEOUT(test.readScalar<std::string>(ctk::RegisterPath("/Devices") / deviceCDD / "message"), "", 3000);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment