Commit 74002c3
Allow configure timeout in REST tests from sys props (elastic#133748)
When debugging REST tests with a remote debugger, we often need to
manually increase the client socket timeout in the code. This allows us
to spend more time in the debugger without the query failing due to a
timeout.
This change allows configuring the client socket timeout from a system
property.
For example:
```
./gradlew :x-pack:plugin:esql:qa:server:single-node:yamlRestTest
--tests "org.elasticsearch.xpack.esql.qa.single_node.EsqlClientYamlIT"
-Dtests.client.socket.timeout=10m
```1 parent 753ad95 commit 74002c3
File tree
1 file changed
+3
-0
lines changed- test/framework/src/main/java/org/elasticsearch/test/rest
1 file changed
+3
-0
lines changedLines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1609 | 1609 | | |
1610 | 1610 | | |
1611 | 1611 | | |
| 1612 | + | |
| 1613 | + | |
| 1614 | + | |
1612 | 1615 | | |
1613 | 1616 | | |
1614 | 1617 | | |
| |||
0 commit comments