File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
storage/inchi/src/test/java/org/openscience/cdk/inchi Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 22
22
import static org .hamcrest .CoreMatchers .containsString ;
23
23
import static org .hamcrest .CoreMatchers .is ;
24
24
import static org .hamcrest .MatcherAssert .assertThat ;
25
+ import static org .hamcrest .Matchers .anyOf ;
25
26
26
27
import java .util .ArrayList ;
27
28
import java .util .Arrays ;
@@ -905,7 +906,8 @@ public void timeout() throws Exception {
905
906
InChIGenerator generator = inchiFact .getInChIGenerator (mol , "W0.01" );
906
907
assertThat (generator .getReturnStatus (), is (INCHI_RET .ERROR ));
907
908
assertThat (generator .getMessage (),
908
- containsString ("Time limit exceeded" ));
909
+ anyOf (containsString ("Time limit exceeded" ),
910
+ containsString ("Structure normalization timeout" )));
909
911
}
910
912
911
913
/**
You can’t perform that action at this time.
0 commit comments