Skip to content

Commit 94b0107

Browse files
committed
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 c4f6821 commit 94b0107

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
@@ -39,7 +39,7 @@ for (Version bwcVersion : bwcVersions.indexCompatible) {
3939
versions = [bwcVersion.toString(), project.version]
4040
numberOfNodes = 2
4141
// some tests rely on the translog not being flushed
42-
setting 'indices.memory.shard_inactive_time', '20m'
42+
setting 'indices.memory.shard_inactive_time', '60m'
4343
setting 'http.content_type.required', 'true'
4444
setting 'path.repo', "${buildDir}/cluster/shared/repo/${baseName}"
4545
javaHome = BuildParams.runtimeJavaHome

0 commit comments

Comments
 (0)