Skip to content
Snippets Groups Projects
Commit 73629cda authored by Jens Georg's avatar Jens Georg
Browse files

testTrigger: Improve race condition a bit

parent f602a0ab
No related branches found
No related tags found
No related merge requests found
......@@ -146,7 +146,7 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(testTriggerDevToApp, T, test_types) {
// single theaded test
app.testModule.feedingToDevice = 42;
BOOST_CHECK(app.testModule.consumingPush == 1);
CHECK_TIMEOUT((app.testModule.consumingPush.readLatest(), app.testModule.consumingPush == 1), 10000);
app.testModule.feedingToDevice.write();
BOOST_CHECK(app.testModule.consumingPush.readNonBlocking() == false);
BOOST_CHECK(app.testModule.consumingPush == 1);
......
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