Skip to content
Snippets Groups Projects
Commit 8bf32a23 authored by Maxim Cournoyer's avatar Maxim Cournoyer Committed by Sébastien Blin
Browse files

test: scheduler: raise timeout from 3 to 30s

Change-Id: I75b8731152c9fa88b7317d3a0bfd39153b265d66
parent 69304fd7
No related branches found
No related tags found
No related merge requests found
......@@ -71,14 +71,14 @@ SchedulerTest::schedulerTest()
for (unsigned i=0; i<N; i++)
executor.run(task);
CPPUNIT_ASSERT(cv.wait_for(lk, std::chrono::seconds(3), [&]{
CPPUNIT_ASSERT(cv.wait_for(lk, std::chrono::seconds(30), [&]{
return taskRun == N;
}));
for (unsigned i=0; i<N; i++)
executor.scheduleIn(task, std::chrono::microseconds(1));
CPPUNIT_ASSERT(cv.wait_for(lk, std::chrono::seconds(3), [&]{
CPPUNIT_ASSERT(cv.wait_for(lk, std::chrono::seconds(30), [&]{
return taskRun == 2 * N;
}));
......
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