Skip to content

Commit

Permalink
[TEST] make sure update task is actually executed
Browse files Browse the repository at this point in the history
The update task that was submitted in this test never got executed
if node_2 was not master.
  • Loading branch information
brwe committed Mar 4, 2015
1 parent 247f587 commit db36c4d
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,10 @@ public ClusterState execute(ClusterState currentState) throws Exception {
.build();
}

public boolean runOnlyOnMaster() {
return false;
}

@Override
public void onFailure(String source, Throwable t) {
}
Expand Down

0 comments on commit db36c4d

Please sign in to comment.