diff options
author | Jan Arve Sæther <jan-arve.saether@qt.io> | 2018-02-27 14:54:06 +0100 |
---|---|---|
committer | Jan Arve Sæther <jan-arve.saether@qt.io> | 2018-03-01 14:22:42 +0000 |
commit | e29adf1580e1845fc3ee26d5aea746410c0bec1a (patch) | |
tree | 2cd2d3dc75c03a162d8a72a8542fdbf226a0951b /tests | |
parent | f70392700c63d81ef8bcee7351d903e4823b4571 (diff) |
Fix flaky test - wait for the LayoutRequest to arrive
Change-Id: I5fb8419bc86f0355ca19957456d2a3ebba3c9ef3
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/quick/qquicklayouts/data/tst_rowlayout.qml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/quick/qquicklayouts/data/tst_rowlayout.qml b/tests/auto/quick/qquicklayouts/data/tst_rowlayout.qml index b460493f1f..c014c2ef74 100644 --- a/tests/auto/quick/qquicklayouts/data/tst_rowlayout.qml +++ b/tests/auto/quick/qquicklayouts/data/tst_rowlayout.qml @@ -1012,6 +1012,7 @@ Item { fixed.implicitWidth = 100 waitForRendering(layout) + wait(0); // Trigger processEvents() (allow LayoutRequest to be processed) compare(itemRect(fixed), [0,0,100,20]) compare(itemRect(filler), [100,0,100,20]) } |