RFR: 8315484: java/awt/dnd/RejectDragDropActionTest.java timed out
Harshitha Onkar
honkar at openjdk.org
Mon Oct 2 23:45:37 UTC 2023
On Mon, 2 Oct 2023 23:06:58 GMT, Damon Nguyen <dnguyen at openjdk.org> wrote:
> This test intermittently fails by timeout. Increasing the timeout alone doesn't solve the failure as it still fails in about 400 runs. Adding another delay and reducing the delay amount to 1000ms. Now, the test passes after 2 sets of 500 repeats on all OS's without a timeout.
test/jdk/java/awt/dnd/RejectDragDropActionTest.java line 84:
> 82: DnDConstants.ACTION_COPY, dgl);
> 83: frame.setPreferredSize(new Dimension(200, 200));
> 84: frame.pack();
Suggestion:
frame.setSize(200, 200);
frame.pack() not required as frame size is explicitly specified.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/16018#discussion_r1343256884
More information about the client-libs-dev
mailing list