Skip to content

Commit 018c18e

Browse files
authored
Increase shard inactive time to 1h in upgrade tests (#51651)
testRecovery relies on the fact that shards are not flushed on inactive. Our CI recently was too slow. It took more than 20 minutes to complete the full cluster restart suite. This slowness caused some shards of testRecovery were flushed on inactive. This commit increases the inactive time to 1h to reduce this noise. Closes #51640
1 parent f41efd6 commit 018c18e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qa/full-cluster-restart/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ for (Version bwcVersion : bwcVersions.indexCompatible) {
3838
versions = [bwcVersion.toString(), project.version]
3939
numberOfNodes = 2
4040
// some tests rely on the translog not being flushed
41-
setting 'indices.memory.shard_inactive_time', '20m'
41+
setting 'indices.memory.shard_inactive_time', '60m'
4242
setting 'http.content_type.required', 'true'
4343
setting 'path.repo', "${buildDir}/cluster/shared/repo/${baseName}"
4444
}

0 commit comments

Comments
 (0)