diff --git a/autotests/integration/buffer_size_change_test.cpp b/autotests/integration/buffer_size_change_test.cpp index 4c5231a7c4..2b41eb8b2c 100644 --- a/autotests/integration/buffer_size_change_test.cpp +++ b/autotests/integration/buffer_size_change_test.cpp @@ -59,7 +59,6 @@ void BufferSizeChangeTest::testShmBufferSizeChange() QScopedPointer shellSurface(Test::createXdgShellStableSurface(surface.data())); QVERIFY(!shellSurface.isNull()); - Test::flushWaylandConnection(); // set buffer size ShellClient *client = Test::renderAndWaitForShown(surface.data(), QSize(100, 50), Qt::blue); @@ -73,7 +72,6 @@ void BufferSizeChangeTest::testShmBufferSizeChange() // now change buffer size Test::render(surface.data(), QSize(30, 10), Qt::red); - Test::flushWaylandConnection(); QSignalSpy damagedSpy(client, &ShellClient::damaged); QVERIFY(damagedSpy.isValid());