Skip to content

Commit

Permalink
2 snapshot threads for large blob test (#91226)
Browse files Browse the repository at this point in the history
In 8.5, the default snapshot thread pool has 1 thread when the
"Timeout with large blobs" runs with the
-Dtests.configure_test_clusters_with_one_processor=true
pipeline. This makes the 1sec timeout response to never be sent
out (because the 1 thread is busy with the slow blob), while with
2 threads it can be sent out.

Fixes #90353
  • Loading branch information
kingherc authored Nov 1, 2022
1 parent 94d3fc8 commit 6f7deee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions x-pack/plugin/snapshot-repo-test-kit/qa/rest/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ testClusters.matching { it.name == "yamlRestTest" }.configureEach {
testDistribution = 'DEFAULT'
setting 'path.repo', repoDir.absolutePath
setting 'xpack.security.enabled', 'false'
setting 'thread_pool.snapshot.max', '2'
}

tasks.named('yamlRestTestTestingConventions').configure {
Expand Down

0 comments on commit 6f7deee

Please sign in to comment.