test: add identify test
fix some bugs found in testing Signed-off-by: ComixHe <heyuming@deepin.org>
This commit is contained in:
@ -43,5 +43,5 @@ TEST_F(TestJobManager, addJob)
|
||||
return QVariant::fromValue(true);
|
||||
},
|
||||
args);
|
||||
QThread::sleep(1); // force wait
|
||||
QThreadPool::globalInstance()->waitForDone();
|
||||
}
|
||||
|
Reference in New Issue
Block a user