File tree 2 files changed +21
-0
lines changed
x-pack/qa/rolling-upgrade/src/test/resources/rest-api-spec/test
2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -87,6 +87,13 @@ setup:
87
87
xpack.ml.close_job :
88
88
job_id : mixed-cluster-job
89
89
90
+ # Wait for indices to be fully allocated before
91
+ # killing the node
92
+ - do :
93
+ cluster.health :
94
+ index : [".ml-state", ".ml-anomalies-shared"]
95
+ wait_for_status : green
96
+
90
97
---
91
98
" Test get job with rules " :
92
99
Original file line number Diff line number Diff line change 49
49
job_id : old-cluster-job
50
50
- match : { count: 1 }
51
51
52
+ # Wait for indices to be fully allocated before
53
+ # killing the node
54
+ - do :
55
+ cluster.health :
56
+ index : [".ml-state", ".ml-anomalies-shared"]
57
+ wait_for_status : green
58
+
52
59
---
53
60
" Put job on the old cluster with the default model memory limit and post some data " :
54
61
- do :
96
103
job_id : no-model-memory-limit-job
97
104
- match : { count: 201 }
98
105
106
+ # Wait for indices to be fully allocated before
107
+ # killing the node
108
+ - do :
109
+ cluster.health :
110
+ index : [".ml-state", ".ml-anomalies-shared"]
111
+ wait_for_status : green
112
+
99
113
---
100
114
" Put job with empty strings in the configuration " :
101
115
- do :
You can’t perform that action at this time.
0 commit comments