From f6c964a32bbf8dc8e8d254cd7b37236bb6ca8a7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Fl=C3=B6ser?= Date: Fri, 28 Jul 2017 06:50:00 +0200 Subject: [PATCH] [autotests] Another change for SceneQPainterTest::testX11Window to make it pass CI Still missing ideas, theory is that rendering on Xwayland is too slow and we have an invalid buffer or that reparenting took to long. --- autotests/integration/scene_qpainter_test.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/autotests/integration/scene_qpainter_test.cpp b/autotests/integration/scene_qpainter_test.cpp index ad353a28d5..046cdf4310 100644 --- a/autotests/integration/scene_qpainter_test.cpp +++ b/autotests/integration/scene_qpainter_test.cpp @@ -35,6 +35,7 @@ along with this program. If not, see . #include #include #include +#include #include #include @@ -341,6 +342,7 @@ void SceneQPainterTest::testX11Window() } QVERIFY(client->surface()); QTRY_VERIFY(client->surface()->buffer()); + QTRY_COMPARE(client->surface()->buffer()->data().size(), client->geometry().size()); // enough time for rendering the window QTest::qWait(100);