8222519: ButtonDemoScreenshotTest fails randomly with "still state to be reached"

Reviewed-by: serb
This commit is contained in:
Vikrant Agarwal 2019-04-30 04:15:31 -07:00
parent d43616c60a
commit dfc6e4b49e

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2011, 2019, 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
@ -54,7 +54,7 @@ import static org.jemmy2ext.JemmyExt.*;
* java.logging
* @build org.jemmy2ext.JemmyExt
* @build com.sun.swingset3.demos.button.ButtonDemo
* @run testng/timeout=600 ButtonDemoScreenshotTest
* @run testng/othervm/timeout=600 -Dswing.disablevistaanimation=true ButtonDemoScreenshotTest
*/
@Listeners(GuiTestListener.class)
public class ButtonDemoScreenshotTest {