Skip to content

Commit 3ea5fd0

Browse files
committed
Run ConcurrentSeqNoVersioningIT#testSeqNoCASLinearizability multiple times on CI
Try to reproduce the issue with pending translog operations in #117249
1 parent 17c6e10 commit 3ea5fd0

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

muted-tests.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,6 @@ tests:
8383
- class: org.elasticsearch.xpack.apmdata.APMYamlTestSuiteIT
8484
method: test {yaml=/10_apm/Test template reinstallation}
8585
issue: https://github.com/elastic/elasticsearch/issues/116445
86-
- class: org.elasticsearch.versioning.ConcurrentSeqNoVersioningIT
87-
method: testSeqNoCASLinearizability
88-
issue: https://github.com/elastic/elasticsearch/issues/117249
8986
- class: org.elasticsearch.discovery.ClusterDisruptionIT
9087
method: testAckedIndexing
9188
issue: https://github.com/elastic/elasticsearch/issues/117024

server/src/internalClusterTest/java/org/elasticsearch/versioning/ConcurrentSeqNoVersioningIT.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
*/
99
package org.elasticsearch.versioning;
1010

11+
import com.carrotsearch.randomizedtesting.annotations.Repeat;
12+
1113
import org.apache.logging.log4j.Level;
1214
import org.elasticsearch.ExceptionsHelper;
1315
import org.elasticsearch.action.DocWriteResponse;
@@ -119,6 +121,8 @@ public class ConcurrentSeqNoVersioningIT extends AbstractDisruptionTestCase {
119121
// multiple threads doing CAS updates.
120122
// Wait up to 1 minute (+10s in thread to ensure it does not time out) for threads to complete previous round before initiating next
121123
// round.
124+
@Repeat(iterations = 100)
125+
@SuppressForbidden(reason = "run the test multiple times on CI")
122126
public void testSeqNoCASLinearizability() {
123127
final int disruptTimeSeconds = scaledRandomIntBetween(1, 8);
124128

0 commit comments

Comments
 (0)