aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmlprofiler
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2021-01-15 14:15:30 +0100
committerUlf Hermann <ulf.hermann@qt.io>2021-01-15 13:53:39 +0000
commit1455eae9ac777676178cdbfe5f5c67823a7e36cf (patch)
tree3556d53faf4d12b33485e87fe1d560c57b23ec4d /src/plugins/qmlprofiler
parent887cb05b98bcb55f407bcb25ac322d2a282046fb (diff)
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>
Diffstat (limited to 'src/plugins/qmlprofiler')
-rw-r--r--src/plugins/qmlprofiler/tests/flamegraphview_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmlprofiler/tests/flamegraphview_test.cpp b/src/plugins/qmlprofiler/tests/flamegraphview_test.cpp
index 8bd3339de62..3cab4dea829 100644
--- a/src/plugins/qmlprofiler/tests/flamegraphview_test.cpp
+++ b/src/plugins/qmlprofiler/tests/flamegraphview_test.cpp
@@ -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()