QmlProfiler: Be more patient in FlameGraphViewTest

Apparently 5s are not enough to show a window on the screen ...

Change-Id: I8da65d0d8b8b9bbb7ba80396045551d46590ff61
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Ulf Hermann
2021-01-15 14:15:30 +01:00
parent 887cb05b98
commit 1455eae9ac

View File

@@ -46,7 +46,7 @@ void FlameGraphViewTest::initTestCase()
FlameGraphModelTest::generateData(&manager, &aggregator);
view.resize(500, 500);
view.show();
QVERIFY(QTest::qWaitForWindowExposed(&view));
QTRY_VERIFY(QTest::qWaitForWindowExposed(&view));
}
void FlameGraphViewTest::testSelection()