Commit 6cb59010 authored by Andrew den Exter's avatar Andrew den Exter Committed by Qt by Nokia

Fix QQuickCanvas test failure.

Switch to a QTRY_COMPARE to allow a little more time processing the
event loop.

Change-Id: I4f14feb5cbc7d11654f6c9089baff4ae67d894db
Reviewed-by: default avatarMartin Jones <martin.jones@nokia.com>
parent 6500e8c5
......@@ -698,7 +698,7 @@ void tst_qquickcanvas::headless()
canvas->show();
QTest::qWaitForWindowShown(canvas);
QCOMPARE(initialized.size(), 1);
QTRY_COMPARE(initialized.size(), 1);
QVERIFY(canvas->openglContext() != 0);
// Verify that the visual output is the same
......
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