make testTimeoutSendExceptionWithDelayedResponse less timing sensitive
This commit is contained in:
parent
60552732d1
commit
125029bf12
|
@ -556,7 +556,7 @@ public abstract class AbstractSimpleTransportTestCase extends ESTestCase {
|
||||||
});
|
});
|
||||||
final CountDownLatch latch = new CountDownLatch(1);
|
final CountDownLatch latch = new CountDownLatch(1);
|
||||||
TransportFuture<StringMessageResponse> res = serviceB.submitRequest(nodeA, "sayHelloTimeoutDelayedResponse",
|
TransportFuture<StringMessageResponse> res = serviceB.submitRequest(nodeA, "sayHelloTimeoutDelayedResponse",
|
||||||
new StringMessageRequest("300ms"), TransportRequestOptions.builder().withTimeout(100).build(), new BaseTransportResponseHandler<StringMessageResponse>() {
|
new StringMessageRequest("2m"), TransportRequestOptions.builder().withTimeout(100).build(), new BaseTransportResponseHandler<StringMessageResponse>() {
|
||||||
@Override
|
@Override
|
||||||
public StringMessageResponse newInstance() {
|
public StringMessageResponse newInstance() {
|
||||||
return new StringMessageResponse();
|
return new StringMessageResponse();
|
||||||
|
|
Loading…
Reference in New Issue