ElasticQueryChangesTest: Increase transport timeout to 1 minute
The default is 30s [1]. Increase it to 1 minute in an effort to prevent timeout errors that have been causing CI to fail [2]. [1] https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-transport.html [2] https://gerrit-ci.gerritforge.com/job/Gerrit-master/2387/console Change-Id: Ic6abca01b99a97814fbb066141a1005d767dd463
This commit is contained in:
@@ -87,6 +87,7 @@ public class ElasticQueryChangesTest extends AbstractQueryChangesTest {
|
||||
.put("path.data", elasticDirPath.resolve("data").toAbsolutePath())
|
||||
.put("path.work", elasticDirPath.resolve("work").toAbsolutePath())
|
||||
.put("path.logs", elasticDirPath.resolve("logs").toAbsolutePath())
|
||||
.put("transport.tcp.connect_timeout", "60s")
|
||||
.build();
|
||||
|
||||
// Start the node
|
||||
|
Reference in New Issue
Block a user