Skip to content

Commit

Permalink
restore intermittent flags to be safe (some timeouts have occured)
Browse files Browse the repository at this point in the history
  • Loading branch information
pabender committed Jan 23, 2020
1 parent 075d706 commit 8c43d00
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions java/test/jmri/jmrit/logix/NXFrameTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ public void testGetDefault() {
@Test
public void testRoutePanel() throws Exception {
Assume.assumeFalse(GraphicsEnvironment.isHeadless());
Assume.assumeFalse("Ignoring intermittent test", Boolean.getBoolean("jmri.skipTestsRequiringSeparateRunning"));

NXFrame nxFrame = new NXFrame();
Assert.assertNotNull("NXFrame", nxFrame);
Expand All @@ -72,6 +73,7 @@ public void testRoutePanel() throws Exception {
@Test
public void testNXWarrantSetup() throws Exception {
Assume.assumeFalse(GraphicsEnvironment.isHeadless());
Assume.assumeFalse("Ignoring intermittent test", Boolean.getBoolean("jmri.skipTestsRequiringSeparateRunning"));

// load and display
File f = new File("java/test/jmri/jmrit/logix/valid/NXWarrantTest.xml");
Expand Down Expand Up @@ -139,6 +141,7 @@ public void testNXWarrant() throws Exception {
// then goes on to test a Warrant through the WarrantTableFrame.
// it is the WarrantTableframe portion of this test that hangs.
Assume.assumeFalse(GraphicsEnvironment.isHeadless());
Assume.assumeFalse("Ignoring intermittent test", Boolean.getBoolean("jmri.skipTestsRequiringSeparateRunning"));

// load and display
File f = new File("java/test/jmri/jmrit/logix/valid/NXWarrantTest.xml");
Expand Down Expand Up @@ -257,6 +260,7 @@ public void testNXWarrant() throws Exception {
@Test
public void testWarrantLoopRun() throws Exception {
Assume.assumeFalse(GraphicsEnvironment.isHeadless());
Assume.assumeFalse("Ignoring intermittent test", Boolean.getBoolean("jmri.skipTestsRequiringSeparateRunning"));

// load and display
File f = new File("java/test/jmri/jmrit/logix/valid/NXWarrantTest.xml");
Expand Down Expand Up @@ -300,6 +304,7 @@ public void testWarrantLoopRun() throws Exception {
@Test
public void testWarrantRampHalt() throws Exception {
Assume.assumeFalse(GraphicsEnvironment.isHeadless());
Assume.assumeFalse("Ignoring intermittent test", Boolean.getBoolean("jmri.skipTestsRequiringSeparateRunning"));

// load and display
File f = new File("java/test/jmri/jmrit/logix/valid/NXWarrantTest.xml");
Expand Down
1 change: 1 addition & 0 deletions java/test/jmri/jmrit/logix/TrackerTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public void testTrack() {
@Test
public void testMultipleStartBlocks() throws Exception {
Assume.assumeFalse(GraphicsEnvironment.isHeadless());
Assume.assumeFalse("Ignoring intermittent test", Boolean.getBoolean("jmri.skipTestsRequiringSeparateRunning"));
WarrantPreferences.getDefault().setShutdown(WarrantPreferences.Shutdown.NO_MERGE);

// load and display
Expand Down

0 comments on commit 8c43d00

Please sign in to comment.