Skip to content
Snippets Groups Projects
Commit bc6bdfc9 authored by Martin Christoph Hierholzer's avatar Martin Christoph Hierholzer
Browse files

added some sleeps to make the test a bit harder

parent 66c38381
No related branches found
No related tags found
No related merge requests found
......@@ -83,6 +83,7 @@ struct BlockingReadTestModule : public ctk::ApplicationModule {
someInput.read();
T val = someInput;
someOutput = val;
usleep(10000); // wait some extra time to make sure we are really blocking the test procedure thread
someOutput.write();
}
}
......@@ -104,6 +105,7 @@ struct AsyncReadTestModule : public ctk::ApplicationModule {
future.wait();
T val = someInput;
someOutput = val;
usleep(10000); // wait some extra time to make sure we are really blocking the test procedure thread
someOutput.write();
}
}
......
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