Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ankitkala committed May 31, 2023
1 parent df94cdd commit a55b007
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ class ReplicationStopThenRestartIT : MultiClusterRestTestCase() {
try {
Assert.assertEquals(2, docCount(followerClient, followerIndexName))
} catch (ex: Exception) {
//Querying ES cluster throws random exceptions like ClusterManagerNotDiscovered or ShardsFailed etc, so catching them and retrying
logger.error("ankikala Exception {}", ex)
ex.printStackTrace();
Assert.fail("Exception while querying follower cluster. Failing to retry again {}")
}
}, 1, TimeUnit.MINUTES)
Expand Down

0 comments on commit a55b007

Please sign in to comment.