From 40ce3e4ce3c11e4acd068ae19c6b5654613bb44c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Mon, 1 Dec 2014 10:53:40 +0100 Subject: [PATCH] [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. --- autotests/test_xrandr_screens.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autotests/test_xrandr_screens.cpp b/autotests/test_xrandr_screens.cpp index 5bd3c5b98c..470a4276a5 100644 --- a/autotests/test_xrandr_screens.cpp +++ b/autotests/test_xrandr_screens.cpp @@ -82,7 +82,7 @@ void TestXRandRScreens::initTestCase() QVERIFY(m_xserver->waitForStarted()); QCOMPARE(m_xserver->state(), QProcess::Running); // give it some time before we open the X Display - QTest::qWait(100); + QTest::qWait(500); // create X connection int screen = 0; s_connection = xcb_connect(qPrintable(id), &screen);