From 3ea5fd0f72646b0f81c350a6fa209ca9db2084ae Mon Sep 17 00:00:00 2001 From: Artem Prigoda Date: Thu, 17 Apr 2025 15:21:00 +0200 Subject: [PATCH] Run `ConcurrentSeqNoVersioningIT#testSeqNoCASLinearizability` multiple times on CI Try to reproduce the issue with pending translog operations in #117249 --- muted-tests.yml | 3 --- .../elasticsearch/versioning/ConcurrentSeqNoVersioningIT.java | 4 ++++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/muted-tests.yml b/muted-tests.yml index af2d32f3a94d1..7616339c4dc8c 100644 --- a/muted-tests.yml +++ b/muted-tests.yml @@ -83,9 +83,6 @@ tests: - class: org.elasticsearch.xpack.apmdata.APMYamlTestSuiteIT method: test {yaml=/10_apm/Test template reinstallation} issue: https://github.com/elastic/elasticsearch/issues/116445 -- class: org.elasticsearch.versioning.ConcurrentSeqNoVersioningIT - method: testSeqNoCASLinearizability - issue: https://github.com/elastic/elasticsearch/issues/117249 - class: org.elasticsearch.discovery.ClusterDisruptionIT method: testAckedIndexing issue: https://github.com/elastic/elasticsearch/issues/117024 diff --git a/server/src/internalClusterTest/java/org/elasticsearch/versioning/ConcurrentSeqNoVersioningIT.java b/server/src/internalClusterTest/java/org/elasticsearch/versioning/ConcurrentSeqNoVersioningIT.java index 8db81b985b439..ba6e3bdfeba11 100644 --- a/server/src/internalClusterTest/java/org/elasticsearch/versioning/ConcurrentSeqNoVersioningIT.java +++ b/server/src/internalClusterTest/java/org/elasticsearch/versioning/ConcurrentSeqNoVersioningIT.java @@ -8,6 +8,8 @@ */ package org.elasticsearch.versioning; +import com.carrotsearch.randomizedtesting.annotations.Repeat; + import org.apache.logging.log4j.Level; import org.elasticsearch.ExceptionsHelper; import org.elasticsearch.action.DocWriteResponse; @@ -119,6 +121,8 @@ public class ConcurrentSeqNoVersioningIT extends AbstractDisruptionTestCase { // multiple threads doing CAS updates. // Wait up to 1 minute (+10s in thread to ensure it does not time out) for threads to complete previous round before initiating next // round. + @Repeat(iterations = 100) + @SuppressForbidden(reason = "run the test multiple times on CI") public void testSeqNoCASLinearizability() { final int disruptTimeSeconds = scaledRandomIntBetween(1, 8);