Remove unnecessary flushs in new buffer size change test

This commit is contained in:
Roman Gilg 2019-02-21 23:41:59 +01:00
parent 06f64d5e56
commit d0422eb79f

View file

@ -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());