Commit d0422eb7 authored by Roman Gilg's avatar Roman Gilg

Remove unnecessary flushs in new buffer size change test

parent 06f64d5e
......@@ -59,7 +59,6 @@ void BufferSizeChangeTest::testShmBufferSizeChange()
QScopedPointer<XdgShellSurface> 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());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment