Skip to content

Commit 094fd69

Browse files
authored
Occasionally disrupt blob store in runRandomly (#95418)
1 parent 0a6ef1c commit 094fd69

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/framework/src/main/java/org/elasticsearch/cluster/coordination/AbstractCoordinatorTestCase.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1087,7 +1087,9 @@ public RecyclerBytesStreamOutput newNetworkBytesStream() {
10871087
settings,
10881088
clusterSettings,
10891089
persistedState,
1090-
() -> disconnectedNodes.contains(localNode.getId()) || blackholedNodes.contains(localNode.getId())
1090+
() -> disconnectedNodes.contains(localNode.getId())
1091+
|| blackholedNodes.contains(localNode.getId())
1092+
|| (disruptStorage && rarely())
10911093
);
10921094
coordinator = new Coordinator(
10931095
"test_node",

0 commit comments

Comments
 (0)