Skip to content

Commit ce12df6

Browse files
author
David Roberts
authored
[ML] Fix typo in ML shutdown test (#77304)
There was a small typo in #77281 that made the test fail 2/9ths of the time. Fixes #77297
1 parent 0534fba commit ce12df6

File tree

1 file changed

+1
-2
lines changed
  • x-pack/plugin/ml/src/internalClusterTest/java/org/elasticsearch/xpack/ml/integration

1 file changed

+1
-2
lines changed

x-pack/plugin/ml/src/internalClusterTest/java/org/elasticsearch/xpack/ml/integration/MlNodeShutdownIT.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434

3535
public class MlNodeShutdownIT extends BaseMlIntegTestCase {
3636

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

4039
internalCluster().ensureAtLeastNumDataNodes(3);
@@ -81,7 +80,7 @@ public void testJobsVacateShuttingDownNode() throws Exception {
8180
PutShutdownNodeAction.INSTANCE,
8281
new PutShutdownNodeAction.Request(
8382
nodeIdToShutdown.get(),
84-
randomFrom(SingleNodeShutdownMetadata.Type.values()),
83+
type,
8584
"just testing",
8685
null,
8786
targetNodeName)

0 commit comments

Comments
 (0)