Skip to content

Commit 815af48

Browse files
committed
Tune datanode count and shards count to improve test run time (#1170)
Signed-off-by: Abbas Hussain <[email protected]>
1 parent 079fd77 commit 815af48

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

server/src/test/java/org/opensearch/snapshots/SnapshotResiliencyTests.java

+2-3
Original file line numberDiff line numberDiff line change
@@ -873,16 +873,15 @@ public void testConcurrentDeletes() {
873873
* Simulates concurrent restarts of data and master nodes as well as relocating a primary shard, while starting and subsequently
874874
* deleting a snapshot.
875875
*/
876-
@AwaitsFix(bugUrl = "https://github.com/opensearch-project/OpenSearch/issues/579")
877876
public void testSnapshotPrimaryRelocations() {
878877
final int masterNodeCount = randomFrom(1, 3, 5);
879-
setupTestCluster(masterNodeCount, randomIntBetween(2, 10));
878+
setupTestCluster(masterNodeCount, randomIntBetween(2, 5));
880879

881880
String repoName = "repo";
882881
String snapshotName = "snapshot";
883882
final String index = "test";
884883

885-
final int shards = randomIntBetween(1, 10);
884+
final int shards = randomIntBetween(1, 5);
886885

887886
final TestClusterNodes.TestClusterNode masterNode =
888887
testClusterNodes.currentMaster(testClusterNodes.nodes.values().iterator().next().clusterService.state());

0 commit comments

Comments
 (0)