Skip to content

Commit 5bbb699

Browse files
authored
Fix flaky test AzureBlobStoreRepositoryTests (#17905)
* Fix flaky test AzureBlobStoreRepositoryTests Signed-off-by: Sachin Kale <[email protected]> * Fix spotless errors Signed-off-by: Sachin Kale <[email protected]> --------- Signed-off-by: Sachin Kale <[email protected]>
1 parent 5fb4e69 commit 5bbb699

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

plugins/repository-azure/src/internalClusterTest/java/org/opensearch/repositories/azure/AzureBlobStoreRepositoryTests.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
import org.opensearch.core.rest.RestStatus;
5050
import org.opensearch.plugins.Plugin;
5151
import org.opensearch.repositories.blobstore.OpenSearchMockAPIBasedRepositoryIntegTestCase;
52+
import org.opensearch.test.OpenSearchIntegTestCase;
5253
import org.junit.AfterClass;
5354

5455
import java.io.IOException;
@@ -63,6 +64,7 @@
6364
import reactor.core.scheduler.Schedulers;
6465

6566
@SuppressForbidden(reason = "this test uses a HttpServer to emulate an Azure endpoint")
67+
@OpenSearchIntegTestCase.ClusterScope(scope = OpenSearchIntegTestCase.Scope.TEST)
6668
public class AzureBlobStoreRepositoryTests extends OpenSearchMockAPIBasedRepositoryIntegTestCase {
6769
@AfterClass
6870
public static void shutdownSchedulers() {

0 commit comments

Comments
 (0)