Commit d9da0f90 authored by David Faure's avatar David Faure

Make test more tolerant timing-wise

NO_CHANGELOG
parent 324f3bdf
......@@ -372,8 +372,10 @@ void RemoteAccessTest::testSendReleaseCrossScreen()
QVERIFY(paramsObtainedSpy2.isValid());
// wait for event loop
QVERIFY(paramsObtainedSpy1.wait());
if (paramsObtainedSpy2.size() == 0) {
if (paramsObtainedSpy1.isEmpty()) {
QVERIFY(paramsObtainedSpy1.wait());
}
if (paramsObtainedSpy2.isEmpty()) {
QVERIFY(paramsObtainedSpy2.wait());
}
QCOMPARE(paramsObtainedSpy1.size(), 1);
......
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