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
This commit is contained in:
parent
1cba5d7c4b
commit
69ef9b05cd
|
@ -39,7 +39,7 @@ for (Version bwcVersion : bwcVersions.indexCompatible) {
|
|||
versions = [bwcVersion.toString(), project.version]
|
||||
numberOfNodes = 2
|
||||
// some tests rely on the translog not being flushed
|
||||
setting 'indices.memory.shard_inactive_time', '20m'
|
||||
setting 'indices.memory.shard_inactive_time', '60m'
|
||||
setting 'http.content_type.required', 'true'
|
||||
setting 'path.repo', "${buildDir}/cluster/shared/repo/${baseName}"
|
||||
javaHome = BuildParams.runtimeJavaHome
|
||||
|
|
Loading…
Reference in New Issue