RFR: 8274597: Some of the dnd tests time out and fail intermittently [v2]

Manukumar V S mvs at openjdk.java.net
Tue Apr 26 07:11:44 UTC 2022


On Wed, 20 Apr 2022 13:28:17 GMT, Manukumar V S <mvs at openjdk.org> wrote:

>> These dnd tests fails with a time out intermittently in some machines(mostly Windows 11) which creates frequent noise in CI.
>> 1. java/awt/dnd/AcceptDropMultipleTimes/AcceptDropMultipleTimes.java
>> 2. java/awt/dnd/DropTargetEnterExitTest/MissedDragExitTest.java
>> 3. java/awt/dnd/DropTargetEnterExitTest/ExtraDragEnterTest.java
>> 
>> Issue :
>> These tests are using the Util.drag() method and there was no robot.delay() added between different mouse actions in this method. This could potentially make tests using this method unstable.
>> 
>> Fix:
>> Adding a small auto delay of 100ms to fix this.
>> 
>> Testing:
>> 1. All the three tests are run 15 times per platform.
>> 2. All the tests in java/awt/dnd package run 5 times per platform
>> 3. All the three tests are run 5 times specifically on Windows 11 platform.
>
> Manukumar V S has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Added blank line at end of file

Any takers?

-------------

PR: https://git.openjdk.java.net/jdk/pull/8316



More information about the client-libs-dev mailing list