[autotests] Try making StartTest more robust on FreeBSD

Use QTRY_COMPARE instead of QCOMPARE to wait longer.
This commit is contained in:
Martin Flöser 2017-09-23 15:17:19 +02:00
parent af20f1aa35
commit e74eacd279

View file

@ -101,7 +101,7 @@ void StartTest::testCreateWindow()
QVERIFY(waylandServer()->clients().isEmpty());
// now dispatch should give us the client
waylandServer()->dispatch();
QCOMPARE(waylandServer()->clients().count(), 1);
QTRY_COMPARE(waylandServer()->clients().count(), 1);
// but still not yet in workspace
QVERIFY(workspace()->allClientList().isEmpty());