[Test] Add more assertions to failing ML upgrade test
Original commit: elastic/x-pack-elasticsearch@2c1f98534b12234d6bf268fbe8c2b7057fb72dec
@@ -7,6 +7,18 @@ setup:
---
"Test get old cluster job":
+
+ - do:
+ indices.exists:
+ index: ".ml-state"
+ - is_true: ''
+
+ - do:
+ count:
+ index: ".ml-state"
+ - gt: {count: 0}
+
+
- do:
xpack.ml.get_jobs:
job_id: old-cluster-job
@@ -44,6 +56,17 @@ setup:
---
"Create a job in the mixed cluster and write some data":
+ - do:
+ indices.exists:
+ index: ".ml-state"
+ - is_true: ''
+
+ - do:
+ count:
+ index: ".ml-state"
+ - gt: {count: 0}
+
+
- do:
xpack.ml.put_job:
job_id: mixed-cluster-job
