Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
KWin
Commits
d18012b5
Commit
d18012b5
authored
Dec 07, 2019
by
David Faure
Browse files
Make test more tolerant timing-wise
NO_CHANGELOG
parent
663d780e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/wayland/autotests/client/test_remote_access.cpp
View file @
d18012b5
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment