Skip to content

Commit

Permalink
[controller] Add test timeout for deferred version swap test (#1539)
Browse files Browse the repository at this point in the history
add test timeout for version swap test
  • Loading branch information
misyel authored Feb 19, 2025
1 parent d056cac commit 8531b03
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ public class TestDeferredVersionSwap {
private static final int NUMBER_OF_CLUSTERS = 1;
private VeniceTwoLayerMultiRegionMultiClusterWrapper multiRegionMultiClusterWrapper;
private static final String TARGET_REGION = "dc-0";

private static final String[] CLUSTER_NAMES =
IntStream.range(0, NUMBER_OF_CLUSTERS).mapToObj(i -> "venice-cluster" + i).toArray(String[]::new);
private static final int TEST_TIMEOUT = 120_000;

@BeforeClass
public void setUp() {
Expand Down Expand Up @@ -68,7 +68,7 @@ public void cleanUp() {
Utils.closeQuietlyWithErrorLogged(multiRegionMultiClusterWrapper);
}

@Test
@Test(timeOut = TEST_TIMEOUT)
public void testDeferredVersionSwap() throws IOException {
File inputDir = getTempDataDirectory();
TestWriteUtils.writeSimpleAvroFileWithStringToV3Schema(inputDir, 100, 100);
Expand Down

0 comments on commit 8531b03

Please sign in to comment.