Stabilize tst_QWidget_window::setWindowState
Bumping the timeout removed flaky failures in an RHEL debug VM. Task-number: QTBUG-67151 Task-number: QTBUG-66216 Change-Id: I2fde636149f5104a41b757df956d84edc420e7c7 Reviewed-by: Sami Nurmenniemi <sami.nurmenniemi@qt.io> Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
This commit is contained in:
parent
8c3475c190
commit
b318c14bd5
@ -911,7 +911,7 @@ void tst_QWidget_window::setWindowState()
|
||||
// Minimizing keeps other states
|
||||
w.showMinimized();
|
||||
QCOMPARE(w.windowState(), state | Qt::WindowMinimized);
|
||||
QTest::qWait(100);
|
||||
QTest::qWait(200);
|
||||
QCOMPARE(w.windowState(), state | Qt::WindowMinimized);
|
||||
QCOMPARE(w.windowHandle()->windowStates(), state | Qt::WindowMinimized);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user