Skip to content

Commit

Permalink
Add ensure green to single node test
Browse files Browse the repository at this point in the history
Signed-off-by: John Mazanec <[email protected]>
  • Loading branch information
jmazanec15 committed Jan 2, 2024
1 parent 4e7157e commit 0d6222c
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ public void teardown() {

@SuppressWarnings("unchecked")
public void testNodeOperation() throws IOException, InterruptedException, ExecutionException {
ensureGreen();

// Ensure initial value of train job count is 0
TrainingJobRouteDecisionInfoTransportAction action = node().injector()
.getInstance(TrainingJobRouteDecisionInfoTransportAction.class);
Expand Down

0 comments on commit 0d6222c

Please sign in to comment.