Withdrawn: 8274597: [TESTBUG] Two of the dnd tests times out and fails
duke
duke at openjdk.java.net
Mon Nov 29 23:39:08 UTC 2021
On Thu, 30 Sep 2021 14:24:50 GMT, Manukumar V S <mvs at openjdk.org> wrote:
> These two dnd tests fails most of the time with a time out, mostly noticed in windows 11 machines.
> 1. java/awt/dnd/AcceptDropMultipleTimes/AcceptDropMultipleTimes.java
> 2. java/awt/dnd/DropTargetEnterExitTest/MissedDragExitTest.java
>
> Fix:
> From the logs, I have noticed that some of the non-daemon threads are still waiting even after the test execution is complete. So it could be possible that java is waiting for these threads to be finished execution before the main thread exits.
> As a fix for this, I have put a Thread.sleep(100) at the end of the main() in order to enable other non-daemon threads get a chance to finish their execution before the main thread completes.
This pull request has been closed without being integrated.
-------------
PR: https://git.openjdk.java.net/jdk/pull/5777
More information about the client-libs-dev
mailing list