Skip to content

Commit 764901a

Browse files
committed
[TEST] make sure update task is actually executed
The update task that was submitted in this test never got executed if node_2 was not master.
1 parent 6b95a05 commit 764901a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/test/java/org/elasticsearch/indices/store/IndicesStoreIntegrationTests.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,10 @@ public ClusterState execute(ClusterState currentState) throws Exception {
151151
.build();
152152
}
153153

154+
public boolean runOnlyOnMaster() {
155+
return false;
156+
}
157+
154158
@Override
155159
public void onFailure(String source, Throwable t) {
156160
}

0 commit comments

Comments
 (0)