<AWT Dev> Integrated: 8225790: Two NestedDialogs tests fail on Ubuntu
Pankaj Bansal
pbansal at openjdk.java.net
Tue Oct 20 09:09:14 UTC 2020
On Sat, 17 Oct 2020 14:55:39 GMT, Pankaj Bansal <pbansal at openjdk.org> wrote:
> Two NestedDialog tests are failing on Ubuntu 20.04 intermittently. I am able to reproduce the issue locally also
> sometime.
> Tests are creating a frame and then create multiple dialogs. These tests are using classes VisibilityValidator and
> Waypoint (present in test/jdk/java/awt/regtesthelpers) for doing basic operations like waiting for a Frame/Dialog to
> become visible, doing a mouse click on a Frame/Window. Also, the test is not using Robot waitForIdle properly. so
> making the test less stable. I have removed the lot of unnecessary code from the tests. Also, I have added proper
> AutoDelay on Robot and used waitForIdel properly. I have also removed the class VisibilityValidator and Waypoint. These
> classes were added with in test/jdk/java/awt/regtesthelpers when these tests were added. I don't see any use of these
> classes. No other test is using these classes at all and there is too much code in these classes. I have run the
> multiple iterations of the test on mach5, it passes successfully. I have also run a full job to make confirm
> VisibilityValidator and Waypoint are not being used anywhere else.
This pull request has now been integrated.
Changeset: 21e67e54
Author: Pankaj Bansal <pbansal at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/21e67e54
Stats: 788 lines in 4 files changed: 81 ins; 610 del; 97 mod
8225790: Two NestedDialogs tests fail on Ubuntu
Reviewed-by: serb
-------------
PR: https://git.openjdk.java.net/jdk/pull/721
More information about the awt-dev
mailing list