Skip to content

Commit 6c173d7

Browse files
TackAdamAdam Tackett
andauthored
fix CI (#10931)
Signed-off-by: Adam Tackett <[email protected]> Co-authored-by: Adam Tackett <[email protected]>
1 parent 611dcfb commit 6c173d7

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

test/common/config.js

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,17 @@ export default function () {
4444
opensearchTestCluster: {
4545
license: 'oss',
4646
from: 'snapshot',
47-
serverArgs: ['search.concurrent_segment_search.mode=none'],
47+
serverArgs: [
48+
'search.concurrent_segment_search.mode=none',
49+
// Disable disk-based shard allocation to prevent index creation blocks in CI
50+
'cluster.routing.allocation.disk.threshold_enabled=false',
51+
// Set very low disk watermarks for testing
52+
'cluster.routing.allocation.disk.watermark.low=1gb',
53+
'cluster.routing.allocation.disk.watermark.high=500mb',
54+
'cluster.routing.allocation.disk.watermark.flood_stage=100mb',
55+
// Disable read-only index block when disk space is low
56+
'cluster.blocks.read_only_allow_delete=false',
57+
],
4858
},
4959

5060
osdTestServer: {

0 commit comments

Comments
 (0)