Skip to content
Permalink
Browse files

add JUnitAppender.clearBackLog() to setup.

  • Loading branch information...
pabender committed Jun 3, 2019
1 parent a13df6a commit 1ad79a348763d2425fab30458e26aa053908fb2a
Showing with 3 additions and 2 deletions.
  1. +3 −2 java/test/jmri/util/JUnitUtil.java
@@ -222,8 +222,9 @@ public static void setUp() {
System.err.println("Could not start JUnitAppender, but test continues:\n" + e);
}

// reset the UnexpectedMessageFlags so that errors from a
// previous test doesn't interfere with the current test.
// clear the backlog and reset the UnexpectedMessageFlags so that
// errors from a previous test do not interfere with the current test.
JUnitAppender.clearBacklog();
JUnitAppender.resetUnexpectedMessageFlags(Level.INFO);


0 comments on commit 1ad79a3

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