# HG changeset patch # User pchelko # Date 1390213431 -14400 # Node ID dcf3b071fc36aaf6106e4a6ffe19c70d23a52e41 # Parent 41f2413bba45adaa0ab98cf48e9de80c1ebe3362 8032058: [TEST_BUG] [macosx] java/awt/dnd/Button2DragTest sometimes fail Reviewed-by: anthony, serb diff -r 41f2413bba45 -r dcf3b071fc36 jdk/test/java/awt/dnd/Button2DragTest/Button2DragTest.java --- a/jdk/test/java/awt/dnd/Button2DragTest/Button2DragTest.java Thu Jan 16 20:51:18 2014 +0400 +++ b/jdk/test/java/awt/dnd/Button2DragTest/Button2DragTest.java Mon Jan 20 14:23:51 2014 +0400 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2006, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -112,6 +112,7 @@ Util.drag(robot, startPoint, endPoint, InputEvent.BUTTON2_MASK); Util.waitForIdle(robot); + robot.delay(500); if (dropSuccess) { System.err.println("test passed");