Skip to content

Commit

Permalink
[ML] Fix typo in ML shutdown test
Browse files Browse the repository at this point in the history
There was a small typo in elastic#77281 that made the test fail 2/9ths
of the time.

Fixes elastic#77297
  • Loading branch information
droberts195 committed Sep 6, 2021
1 parent ebf5a92 commit aecee23
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@

public class MlNodeShutdownIT extends BaseMlIntegTestCase {

@AwaitsFix(bugUrl="https://github.com/elastic/elasticsearch/issues/77297")
public void testJobsVacateShuttingDownNode() throws Exception {

internalCluster().ensureAtLeastNumDataNodes(3);
Expand Down Expand Up @@ -81,7 +80,7 @@ public void testJobsVacateShuttingDownNode() throws Exception {
PutShutdownNodeAction.INSTANCE,
new PutShutdownNodeAction.Request(
nodeIdToShutdown.get(),
randomFrom(SingleNodeShutdownMetadata.Type.values()),
type,
"just testing",
null,
targetNodeName)
Expand Down

0 comments on commit aecee23

Please sign in to comment.