[autotests] Give Xephyr more time to startup
The test is flaky during the wait for Xephyr. Giving it more time should hopefully make it more reliable. The better way would be to switch to the command line argument -displayfd pipeFd unfortunately the Xephyr on the CI system does not yet support this command line argument.
This commit is contained in:
parent
50cbe810f5
commit
40ce3e4ce3
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ void TestXRandRScreens::initTestCase()
|
||||||
QVERIFY(m_xserver->waitForStarted());
|
QVERIFY(m_xserver->waitForStarted());
|
||||||
QCOMPARE(m_xserver->state(), QProcess::Running);
|
QCOMPARE(m_xserver->state(), QProcess::Running);
|
||||||
// give it some time before we open the X Display
|
// give it some time before we open the X Display
|
||||||
QTest::qWait(100);
|
QTest::qWait(500);
|
||||||
// create X connection
|
// create X connection
|
||||||
int screen = 0;
|
int screen = 0;
|
||||||
s_connection = xcb_connect(qPrintable(id), &screen);
|
s_connection = xcb_connect(qPrintable(id), &screen);
|
||||||
|
|
Loading…
Reference in a new issue