mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-12 22:09:25 +08:00
test: scheduler: raise timeout from 3 to 30s
Change-Id: I75b8731152c9fa88b7317d3a0bfd39153b265d66
This commit is contained in:

committed by
Sébastien Blin

parent
69304fd7df
commit
8bf32a2320
@ -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;
|
||||
}));
|
||||
|
||||
|
Reference in New Issue
Block a user