Skip to content

Commit 57ac6aa

Browse files
committed
half the per-node-limit in stress IT
1 parent b1de4c6 commit 57ac6aa

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

server/src/internalClusterTest/java/org/elasticsearch/snapshots/SnapshotStressTestsIT.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,14 @@ public void testRandomActivities() throws InterruptedException {
100100
disableRepoConsistencyCheck("have not necessarily written to all repositories");
101101
}
102102

103+
@Override
104+
protected Settings nodeSettings(int nodeOrdinal, Settings otherSettings) {
105+
return Settings.builder()
106+
.put(super.nodeSettings(nodeOrdinal, otherSettings))
107+
.put(SnapshotsService.SHARD_SNAPSHOT_PER_NODE_LIMIT_SETTING.getKey(), 5) // more aggressive limit
108+
.build();
109+
}
110+
103111
private static Set<String> nodeNames(Map<String, DiscoveryNode> nodesMap) {
104112
return nodesMap.values().stream().map(DiscoveryNode::getName).collect(Collectors.toSet());
105113
}

0 commit comments

Comments
 (0)