mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-18 19:05:06 +00:00
do not assert on state in mixed cluster due to endpoint differences (#47898)
do not assert on state in mixed cluster due to endpoint differences between 7.3 and 7.4 regression #46452 fixes #47693
This commit is contained in:
parent
0c439fe495
commit
5dd6bd6f49
@ -156,7 +156,9 @@
|
|||||||
transform_id: "mixed-simple-continuous-transform"
|
transform_id: "mixed-simple-continuous-transform"
|
||||||
- match: { count: 1 }
|
- match: { count: 1 }
|
||||||
- match: { transforms.0.id: "mixed-simple-continuous-transform" }
|
- match: { transforms.0.id: "mixed-simple-continuous-transform" }
|
||||||
- match: { transforms.0.state: "/started|indexing/" }
|
# Since we are breaking the stats format between 7.3 and 7.4 (allowed because we're beta) we cannot
|
||||||
|
# assert on state in the mixed cluster as it could be state at the top level or state.task_state
|
||||||
|
#- match: { transforms.0.state: "/started|indexing/" }
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
data_frame_transform_deprecated.stop_transform:
|
data_frame_transform_deprecated.stop_transform:
|
||||||
@ -169,7 +171,9 @@
|
|||||||
transform_id: "mixed-simple-continuous-transform"
|
transform_id: "mixed-simple-continuous-transform"
|
||||||
- match: { count: 1 }
|
- match: { count: 1 }
|
||||||
- match: { transforms.0.id: "mixed-simple-continuous-transform" }
|
- match: { transforms.0.id: "mixed-simple-continuous-transform" }
|
||||||
- match: { transforms.0.state: "stopped" }
|
# Since we are breaking the stats format between 7.3 and 7.4 (allowed because we're beta) we cannot
|
||||||
|
# assert on state in the mixed cluster as it could be state at the top level or state.task_state
|
||||||
|
#- match: { transforms.0.state: "stopped" }
|
||||||
|
|
||||||
---
|
---
|
||||||
"Test GET, start, and stop old cluster batch transforms":
|
"Test GET, start, and stop old cluster batch transforms":
|
||||||
@ -282,7 +286,9 @@
|
|||||||
transform_id: "old-simple-continuous-transform"
|
transform_id: "old-simple-continuous-transform"
|
||||||
- match: { count: 1 }
|
- match: { count: 1 }
|
||||||
- match: { transforms.0.id: "old-simple-continuous-transform" }
|
- match: { transforms.0.id: "old-simple-continuous-transform" }
|
||||||
- match: { transforms.0.state: "/started|indexing/" }
|
# Since we are breaking the stats format between 7.3 and 7.4 (allowed because we're beta) we cannot
|
||||||
|
# assert on state in the mixed cluster as it could be state at the top level or state.task_state
|
||||||
|
#- match: { transforms.0.state: "/started|indexing/" }
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
data_frame_transform_deprecated.stop_transform:
|
data_frame_transform_deprecated.stop_transform:
|
||||||
@ -295,4 +301,6 @@
|
|||||||
transform_id: "old-simple-continuous-transform"
|
transform_id: "old-simple-continuous-transform"
|
||||||
- match: { count: 1 }
|
- match: { count: 1 }
|
||||||
- match: { transforms.0.id: "old-simple-continuous-transform" }
|
- match: { transforms.0.id: "old-simple-continuous-transform" }
|
||||||
- match: { transforms.0.state: "stopped" }
|
# Since we are breaking the stats format between 7.3 and 7.4 (allowed because we're beta) we cannot
|
||||||
|
# assert on state in the mixed cluster as it could be state at the top level or state.task_state
|
||||||
|
#- match: { transforms.0.state: "stopped" }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user