Skip to content

Commit b94ca4f

Browse files
johnmayegonw
authored andcommitted
5000L (long) default timeout in ms
1 parent 8c9e995 commit b94ca4f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

storage/inchi/src/test/java/org/openscience/cdk/inchi/InChIGeneratorTest.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -990,8 +990,6 @@ public void testFiveSecondTimeoutFlag() throws Exception {
990990
ac.addAtom(new Atom("C"));
991991
InChIGeneratorFactory factory = InChIGeneratorFactory.getInstance();
992992
InChIGenerator generator = factory.getInChIGenerator(ac);
993-
994-
String flagChar = System.getProperty("os.name", "").toLowerCase().startsWith("windows") ? "/" : "-";
995-
assertThat(generator.options.getTimeoutMilliSeconds(), is(5000));
993+
assertThat(generator.options.getTimeoutMilliSeconds(), is(5000L));
996994
}
997995
}

0 commit comments

Comments
 (0)