This is an automated email from the ASF dual-hosted git repository. tallison pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/tika.git
commit a970303966072be65a65ddf2809b47fdd0db27b6 Author: tballison <[email protected]> AuthorDate: Wed Apr 19 09:20:43 2017 -0400 mock parser's uninterruptible sleep can happen to pause for exactly 3000 millis --- .../src/test/java/org/apache/tika/parser/mock/MockParserTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tika-parsers/src/test/java/org/apache/tika/parser/mock/MockParserTest.java b/tika-parsers/src/test/java/org/apache/tika/parser/mock/MockParserTest.java index 3d58b40..4adf9e7 100644 --- a/tika-parsers/src/test/java/org/apache/tika/parser/mock/MockParserTest.java +++ b/tika-parsers/src/test/java/org/apache/tika/parser/mock/MockParserTest.java @@ -192,7 +192,7 @@ public class MockParserTest extends TikaTest { //swallow } long elapsed = new Date().getTime()-start; - boolean longEnough = elapsed > 3000;//the xml file specifies 3000, this sleeps 1000 + boolean longEnough = elapsed >= 3000;//the xml file specifies 3000, this sleeps 1000 assertTrue("elapsed ("+elapsed+" millis) was not long enough", longEnough); } -- To stop receiving notification emails like this one, please contact "[email protected]" <[email protected]>.
