Merge branch '2.0.x'

This commit is contained in:
Andy Wilkinson 2018-07-04 15:25:33 +01:00
commit 337d2d8e9a

View File

@ -140,6 +140,14 @@ public class JestAutoConfigurationTests {
}
private JestResult execute(JestClient client, Action<? extends JestResult> action) {
for (int i = 0; i < 2; i++) {
try {
return client.execute(action);
}
catch (IOException ex) {
// Continue
}
}
try {
return client.execute(action);
}