Skip to content

Commit

Permalink
Fix RemoteCloneIndex flaky test by using sync FS repo
Browse files Browse the repository at this point in the history
Signed-off-by: Gaurav Bafna <gbbafna@amazon.com>
  • Loading branch information
gbbafna committed Aug 3, 2024
1 parent a785073 commit 38935ca
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ protected boolean forbidPrivateIndexSettings() {

@Before
public void setup() {
asyncUploadMockFsRepo = true;
asyncUploadMockFsRepo = false;
}

public void testCreateCloneIndex() {
Expand Down Expand Up @@ -280,7 +280,7 @@ public void testCreateCloneIndexFailure() throws ExecutionException, Interrupted
throw new RuntimeException(e);
} finally {
setFailRate(REPOSITORY_NAME, 0);
ensureGreen();
ensureGreen(TimeValue.timeValueSeconds(40));
// clean up
client().admin()
.cluster()
Expand Down

0 comments on commit 38935ca

Please sign in to comment.