On Wed, 20 Apr 2022 13:03:48 GMT, Manukumar V S <m...@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 > 4. java/awt/dnd/MissingDragExitEventTest/MissingDragExitEventTest.java > > Issue : > This doesn't seem to be a deadlock. When there is no sufficient delay after > the mouse release(dragged mouse pointer release to drop the content), the > frame is getting disposed even before the drop() method gets called. So it > waits for the drop() method which will never happen as the frame has been > already disposed and the test times out after some time. > > Fix: > Waiting for the drop() method to get called before disposing the frame. > > Testing: > 1. All the four tests are run 10 times per platform and got all pass > 2. All the four tests are run 10 times on Windows 11 and got all pass This pull request has now been integrated. Changeset: 669ac611 Author: Manukumar V S <m...@openjdk.org> Committer: Abdul Kolarkunnu <akolarku...@openjdk.org> URL: https://git.openjdk.java.net/jdk/commit/669ac611b269bbda5c53d84173e5c9d0eb4ce919 Stats: 159 lines in 4 files changed: 107 ins; 12 del; 40 mod 8274597: Some of the dnd tests time out and fail intermittently 8028998: [TEST_BUG] [macosx] java/awt/dnd/DropTargetEnterExitTest/MissedDragExitTest.java failed Reviewed-by: serb ------------- PR: https://git.openjdk.java.net/jdk/pull/8316