Skip to content
Permalink
Browse files
Show time diffs, cf Java 8
  • Loading branch information
sebbASF committed Jul 27, 2021
1 parent 3cd5d38 commit 99af5c3b0af212c56f696005574a9d28edfa1046
Showing 2 changed files with 4 additions and 3 deletions.
@@ -25,7 +25,7 @@ jobs:
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
java: [ 11 ]
java: [ 8, 11 ]
# java: [ 8, 11, 16 ]
experimental: [false]
# include:
@@ -91,8 +91,9 @@ private static String getTestHomeDirectory() {
return System.getProperty("test.basedir", "target/test-classes/org/apache/commons/net/test-data");
}

public static void trace(String msg) {
System.err.println(msg + " " + System.nanoTime());
private static final long startTime = System.nanoTime();
private static void trace(String msg) {
System.err.println(msg + " " + (System.nanoTime() - startTime));
}

@BeforeClass

0 comments on commit 99af5c3

Please sign in to comment.