From 1455eae9ac777676178cdbfe5f5c67823a7e36cf Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Fri, 15 Jan 2021 14:15:30 +0100 Subject: [PATCH] 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 --- src/plugins/qmlprofiler/tests/flamegraphview_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()