Commit e74eacd2 authored by Martin Flöser's avatar Martin Flöser

[autotests] Try making StartTest more robust on FreeBSD

Use QTRY_COMPARE instead of QCOMPARE to wait longer.
parent af20f1aa
...@@ -101,7 +101,7 @@ void StartTest::testCreateWindow() ...@@ -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());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment