Fix sporadic ratpack test failure (#3361)
This commit is contained in:
parent
5b5992faa9
commit
e8dc79d2c0
|
@ -45,7 +45,6 @@ class RatpackHttpClientTest extends HttpClientTest<Void> implements AgentTestTra
|
|||
|
||||
HttpClient buildHttpClient(Action<? super HttpClientSpec> action) {
|
||||
HttpClient.of {
|
||||
it.readTimeout(Duration.ofSeconds(2))
|
||||
// execController method added in 1.9
|
||||
if (HttpClientSpec.metaClass.getMetaMethod("execController") != null) {
|
||||
it.execController(exec.getController())
|
||||
|
|
Loading…
Reference in New Issue