Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit eb0a6a8

Browse files
committedMar 20, 2025·
Fix Flaky Test SpecificClusterManagerNodesIT.testElectOnlyBetweenClusterManagerNodes
Signed-off-by: kkewwei <kewei.11@bytedance.com> Signed-off-by: kkewwei <kkewwei@163.com>
1 parent af5835f commit eb0a6a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎server/src/internalClusterTest/java/org/opensearch/cluster/SpecificClusterManagerNodesIT.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ public void testElectOnlyBetweenClusterManagerNodes() throws Exception {
267267
.nodes()
268268
.getClusterManagerNode()
269269
.getName();
270-
} catch (ClusterManagerNotDiscoveredException e) {
270+
} catch (Exception e) {
271271
logger.debug("failed to get cluster-manager name", e);
272272
return null;
273273
}

0 commit comments

Comments
 (0)
Please sign in to comment.