This is an automated email from the ASF dual-hosted git repository.

tallison pushed a commit to branch 2.x
in repository https://gitbox.apache.org/repos/asf/tika.git

commit 870ec187eb27f8273d8f2324864690f57c612e0c
Author: tballison <[email protected]>
AuthorDate: Wed Apr 19 10:05:37 2017 -0400

    In rare cases, elapsed can == 3000 exactly.  Fix this.
---
 tika-app/src/test/java/org/apache/tika/parser/mock/MockParserTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/tika-app/src/test/java/org/apache/tika/parser/mock/MockParserTest.java 
b/tika-app/src/test/java/org/apache/tika/parser/mock/MockParserTest.java
index 2d785b7..a130be2 100644
--- a/tika-app/src/test/java/org/apache/tika/parser/mock/MockParserTest.java
+++ b/tika-app/src/test/java/org/apache/tika/parser/mock/MockParserTest.java
@@ -196,7 +196,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]>.

Reply via email to