[TEST] bump timeout in testFetchShardsSkipUnavailable to 5s

in response to #28668.
This commit is contained in:
Tal Levy 2018-02-13 13:09:43 -08:00
parent 04fe9a9ab5
commit 6c7d12c34c
1 changed files with 1 additions and 1 deletions

View File

@ -480,7 +480,7 @@ public class RemoteClusterConnectionTests extends ESTestCase {
AtomicReference<Exception> failReference = new AtomicReference<>();
connection.fetchSearchShards(searchShardsRequest,
new LatchedActionListener<>(ActionListener.wrap(reference::set, failReference::set), responseLatch));
assertTrue(responseLatch.await(1, TimeUnit.SECONDS));
assertTrue(responseLatch.await(5, TimeUnit.SECONDS));
assertNull(failReference.get());
assertNotNull(reference.get());
ClusterSearchShardsResponse response = reference.get();