From cbb1f9c6a79979d50c06e2e2b599bc429d09254b Mon Sep 17 00:00:00 2001 From: Florian Hockmann Date: Thu, 14 Sep 2023 09:26:10 +0200 Subject: [PATCH] Remove minSuccess arguments from remaining tests Follow-up to #3961 where I forgot to remove this argument from these 2 tests because they are using `ParameterizedRepeatedIfExceptionsTest` instead of `RepeatedIfExceptionsTest`. Signed-off-by: Florian Hockmann --- .../java/org/janusgraph/graphdb/cql/CQLGraphCacheTest.java | 4 ++-- .../test/java/org/janusgraph/graphdb/cql/CQLGraphTest.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/janusgraph-cql/src/test/java/org/janusgraph/graphdb/cql/CQLGraphCacheTest.java b/janusgraph-cql/src/test/java/org/janusgraph/graphdb/cql/CQLGraphCacheTest.java index fd2e1c27cd..3495c9e7ab 100644 --- a/janusgraph-cql/src/test/java/org/janusgraph/graphdb/cql/CQLGraphCacheTest.java +++ b/janusgraph-cql/src/test/java/org/janusgraph/graphdb/cql/CQLGraphCacheTest.java @@ -45,7 +45,7 @@ public void testIndexUpdatesWithReindexAndRemove() throws InterruptedException, } // flaky test: https://github.com/JanusGraph/janusgraph/issues/1457 - @ParameterizedRepeatedIfExceptionsTest(repeats = 4, minSuccess = 2) + @ParameterizedRepeatedIfExceptionsTest(repeats = 3) @ValueSource(booleans = {true, false}) @Override public void simpleLogTest(boolean useStringId) throws InterruptedException { @@ -53,7 +53,7 @@ public void simpleLogTest(boolean useStringId) throws InterruptedException { } // flaky test: https://github.com/JanusGraph/janusgraph/issues/1457 - @ParameterizedRepeatedIfExceptionsTest(repeats = 4, minSuccess = 2) + @ParameterizedRepeatedIfExceptionsTest(repeats = 3) @ValueSource(booleans = {true, false}) @Override public void simpleLogTestWithFailure(boolean useStringId) throws InterruptedException { diff --git a/janusgraph-cql/src/test/java/org/janusgraph/graphdb/cql/CQLGraphTest.java b/janusgraph-cql/src/test/java/org/janusgraph/graphdb/cql/CQLGraphTest.java index a2aa514c2f..d5a625611e 100644 --- a/janusgraph-cql/src/test/java/org/janusgraph/graphdb/cql/CQLGraphTest.java +++ b/janusgraph-cql/src/test/java/org/janusgraph/graphdb/cql/CQLGraphTest.java @@ -229,7 +229,7 @@ public void testHasTTL() { } // flaky test: https://github.com/JanusGraph/janusgraph/issues/1457 - @ParameterizedRepeatedIfExceptionsTest(repeats = 4, minSuccess = 2) + @ParameterizedRepeatedIfExceptionsTest(repeats = 3) @ValueSource(booleans = {true, false}) @Override public void simpleLogTest(boolean useStringId) throws InterruptedException { @@ -237,7 +237,7 @@ public void simpleLogTest(boolean useStringId) throws InterruptedException { } // flaky test: https://github.com/JanusGraph/janusgraph/issues/1457 - @ParameterizedRepeatedIfExceptionsTest(repeats = 4, minSuccess = 2) + @ParameterizedRepeatedIfExceptionsTest(repeats = 3) @ValueSource(booleans = {true, false}) @Override public void simpleLogTestWithFailure(boolean useStringId) throws InterruptedException {