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

Manukumar V S mvs at openjdk.java.net
Wed Apr 20 13:28:17 UTC 2022


> 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

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/8316/files
  - new: https://git.openjdk.java.net/jdk/pull/8316/files/1a1657a0..f008f89a

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=8316&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=8316&range=00-01

  Stats: 2 lines in 1 file changed: 1 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/8316.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/8316/head:pull/8316

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



More information about the client-libs-dev mailing list