Browse Source

Increase timeout while checking for no snapshotted commit (#49461)

If some replica is performing a file-based recovery, then the check 
assertNoSnapshottedIndexCommit would fail. We should increase the
timeout for this check so that we can wait until all recoveries done
or aborted.

Closes #49403
Nhat Nguyen 6 years ago
parent
commit
5d00beea2e

+ 1 - 1
test/framework/src/main/java/org/elasticsearch/test/InternalTestCluster.java

@@ -1230,7 +1230,7 @@ public final class InternalTestCluster extends TestCluster {
                     }
                     }
                 }
                 }
             }
             }
-        });
+        }, 60, TimeUnit.SECONDS);
     }
     }
 
 
     /**
     /**