qt6-bb10/tests/auto/gui/kernel/qwindow
Gatis Paeglis 542e11ab2b tests: make exposeEventOnShrink_QTBUG54040 not flakey on xcb
From: https://tronche.com/gui/x/xlib/events/exposure/expose.html

"The circumstances in which the X server generates Expose events
are not as definite as those for other events."

On windows with XCB_GRAVITY_NORTH_WEST flag set we should not get
expose events according to e2665600c0,
but as stated earlier this might not always be true.

Nevertheless, sometimes we get expose event from X server when shrinking
window, but most of the time we don't. Make the test not flakey by
checking that we get at least 1 expose event, instead of exactly 1.
Now running test 500 times in a loop does not fail.

Task-number: QTBUG-63424
Change-Id: I8004e622020cc09e11b7d592faf6d9ee1b9cfee2
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2017-09-26 12:49:59 +00:00
..
BLACKLIST Ignore tests that fail on OpenNebula 2017-08-03 09:30:06 +00:00
qwindow.pro Use qtConfig throughout in qtbase 2016-08-19 04:28:05 +00:00
tst_qwindow.cpp tests: make exposeEventOnShrink_QTBUG54040 not flakey on xcb 2017-09-26 12:49:59 +00:00