[autotests] Try making StartTest more robust on FreeBSD
Use QTRY_COMPARE instead of QCOMPARE to wait longer.
This commit is contained in:
parent
af20f1aa35
commit
e74eacd279
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ void StartTest::testCreateWindow()
|
||||||
QVERIFY(waylandServer()->clients().isEmpty());
|
QVERIFY(waylandServer()->clients().isEmpty());
|
||||||
// now dispatch should give us the client
|
// now dispatch should give us the client
|
||||||
waylandServer()->dispatch();
|
waylandServer()->dispatch();
|
||||||
QCOMPARE(waylandServer()->clients().count(), 1);
|
QTRY_COMPARE(waylandServer()->clients().count(), 1);
|
||||||
// but still not yet in workspace
|
// but still not yet in workspace
|
||||||
QVERIFY(workspace()->allClientList().isEmpty());
|
QVERIFY(workspace()->allClientList().isEmpty());
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue