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 2023/12/01 16:13:43 UTC
(tika) branch main updated: Remove flaky test based on PF 1476 from njain2208
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 0bf30f0e6 Remove flaky test based on PF 1476 from njain2208
0bf30f0e6 is described below
commit 0bf30f0e653ff7262cd146cee6b0bfc81a6410ff
Author: tallison <ta...@apache.org>
AuthorDate: Fri Dec 1 11:13:35 2023 -0500
Remove flaky test based on PF 1476 from njain2208
---
tika-app/src/test/java/org/apache/tika/cli/TikaCLITest.java | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/tika-app/src/test/java/org/apache/tika/cli/TikaCLITest.java b/tika-app/src/test/java/org/apache/tika/cli/TikaCLITest.java
index b8795225b..ebd1d90b9 100644
--- a/tika-app/src/test/java/org/apache/tika/cli/TikaCLITest.java
+++ b/tika-app/src/test/java/org/apache/tika/cli/TikaCLITest.java
@@ -250,13 +250,6 @@ public class TikaCLITest {
resourcePrefix + "testJsonMultipleInts.html");
//TIKA-1310
assertTrue(json.contains("\"fb:admins\":\"1,2,3,4\","));
-
- //test legacy alphabetic sort of keys
- int enc = json.indexOf("\"Content-Encoding\"");
- int fb = json.indexOf("fb:admins");
- int title = json.indexOf("\"dc:title\"");
- assertTrue(enc > -1 && fb > -1 && enc < fb);
- assertTrue(fb > -1 && title > -1 && fb > title);
assertTrue(json.contains("\"X-TIKA:digest:MD2\":"));
}
@@ -273,7 +266,7 @@ public class TikaCLITest {
assertTrue(json.contains(
"\"X-TIKA:Parsed-By\" : [ \"org.apache.tika.parser.DefaultParser\", " +
"\"org.apache.tika.parser.html.JSoupParser\" ],"));
- //test legacy alphabetic sort of keys
+ //test pretty-print alphabetic sort of keys
int enc = json.indexOf("\"Content-Encoding\"");
int fb = json.indexOf("fb:admins");
int title = json.indexOf("\"dc:title\"");