Make test more tolerant timing-wise
NO_CHANGELOG
This commit is contained in:
parent
663d780e71
commit
d18012b50b
1 changed files with 4 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue