You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tika.apache.org by ta...@apache.org on 2021/08/18 15:13:59 UTC
[tika] branch main updated: fix test that fails fairly regularly on
Windows
This is an automated email from the ASF dual-hosted git repository.
tallison pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tika.git
The following commit(s) were added to refs/heads/main by this push:
new ff13b98 fix test that fails fairly regularly on Windows
ff13b98 is described below
commit ff13b98d61ac7ae1b39aaeb68bac39dee1fe0a7f
Author: tballison <ta...@apache.org>
AuthorDate: Wed Aug 18 11:13:51 2021 -0400
fix test that fails fairly regularly on Windows
---
.../src/test/java/org/apache/tika/server/core/TikaServerStatusTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tika-server/tika-server-core/src/test/java/org/apache/tika/server/core/TikaServerStatusTest.java b/tika-server/tika-server-core/src/test/java/org/apache/tika/server/core/TikaServerStatusTest.java
index d5044bc..217b47b 100644
--- a/tika-server/tika-server-core/src/test/java/org/apache/tika/server/core/TikaServerStatusTest.java
+++ b/tika-server/tika-server-core/src/test/java/org/apache/tika/server/core/TikaServerStatusTest.java
@@ -66,7 +66,7 @@ public class TikaServerStatusTest extends CXFTestBase {
assertEquals("OPERATING", root.get("status").asText());
assertEquals(0, root.get("files_processed").intValue());
long millis = root.get("millis_since_last_parse_started").longValue();
- assertTrue(millis > 0 && millis < 360000);
+ assertTrue(millis >= 0 && millis < 360000);
assertEquals(SERVER_ID, root.get("server_id").asText());
}
}