<AWT Dev> RFR: 8253274: The CycleDMImagetest brokes the system [v2]
Sergey Bylokhov
serb at openjdk.java.net
Thu Sep 17 23:12:13 UTC 2020
On Thu, 17 Sep 2020 23:08:43 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:
>> The test checks all display modes reported by the OS.
>>
>> Unfortunately on some test systems the switching from the low-resolution modes to the normal mode "takes a while", the
>> system becomes broken while some other tests start to work.
>> The fix will limit the resolution of modes tested, it should be bigger than 800x600. Also, the test should try to
>> properly clean up the system after completion.
>
> Sergey Bylokhov has updated the pull request incrementally with one additional commit since the last revision:
>
> Update CycleDMImage.java
test/jdk/java/awt/GraphicsDevice/DisplayModes/CycleDMImage.java line 300:
> 298: // delay a bit just to let the fullscreen window disposing complete
> 299: // before switching to next display
> 300: delay(10000);
Will sleep long enough to let the display mode switch occur.
-------------
PR: https://git.openjdk.java.net/jdk/pull/222
More information about the awt-dev
mailing list