RFR: 8315484: java/awt/dnd/RejectDragDropActionTest.java timed out [v3]

Damon Nguyen dnguyen at openjdk.org
Tue Oct 3 22:51:57 UTC 2023


On Tue, 3 Oct 2023 19:42:44 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

>> Damon Nguyen has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Add setAutoWaitForIdle
>
> test/jdk/java/awt/dnd/RejectDragDropActionTest.java line 88:
> 
>> 86: 
>> 87:         try {
>> 88:             Robot robot = new Robot();
> 
> To reduce the initial delay, you may override `Frame.paint` and `countDown` a latch after calling `super.paint`. Once the latch is released, you create robot and start testing.

Sure can do. Is this to replace the initial `waitForIdle` after robot's creation? So, remove the `waitForIdle` and add `latch.await()` before robot's creation?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/16018#discussion_r1344835661


More information about the client-libs-dev mailing list