Skip to content
Permalink
Browse files

add retry rule to test that sometimes fails for timing reasons.

  • Loading branch information...
pabender committed Feb 7, 2019
1 parent 7ab7a23 commit 7c7f458a821e2c4083bfe7af8fbd0a713d632396
Showing with 4 additions and 0 deletions.
  1. +4 −0 java/test/jmri/jmrit/roster/swing/RosterFrameTest.java
@@ -5,6 +5,7 @@
import jmri.*;
import jmri.jmrit.roster.*;
import jmri.util.*;
import jmri.util.junit.rules.RetryRule;

import org.junit.*;

@@ -15,6 +16,9 @@
*/
public class RosterFrameTest {

@Rule
public RetryRule retryRule = new RetryRule(3); // allow 3 retries

@Test
public void testCtor() {
Assume.assumeFalse(GraphicsEnvironment.isHeadless());

0 comments on commit 7c7f458

Please sign in to comment.
You can’t perform that action at this time.