Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit a13ecb1c authored by Martin Flöser's avatar Martin Flöser

[autotests] Try to make SceneQPainterTest::testX11Window more robust

Still failing on CI, let's try  to verify that the buffer is ready.
parent 4b890110
......@@ -35,6 +35,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <KWayland/Client/shell.h>
#include <KWayland/Client/surface.h>
#include <KWayland/Client/pointer.h>
#include <KWayland/Server/surface_interface.h>
#include <QPainter>
......@@ -339,6 +340,7 @@ void SceneQPainterTest::testX11Window()
QVERIFY(surfaceChangedSpy.wait());
}
QVERIFY(client->surface());
QTRY_VERIFY(client->surface()->buffer());
// enough time for rendering the window
QTest::qWait(100);
......
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