Backport: unmute rolling upgrade watcher tests and (#51664)
set watcher logger to debug level. These tests haven't run in such a long time, we first need to get a better picture how/if these tests fail today. Backport of #51478 See #33185
This commit is contained in:
parent
285a167c34
commit
f7e2082378
|
@ -102,6 +102,7 @@ for (Version bwcVersion : bwcVersions.wireCompatible) {
|
||||||
}
|
}
|
||||||
|
|
||||||
javaHome = BuildParams.runtimeJavaHome
|
javaHome = BuildParams.runtimeJavaHome
|
||||||
|
setting 'logger.org.elasticsearch.xpack.watcher', 'DEBUG'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,5 @@
|
||||||
---
|
---
|
||||||
"CRUD watch APIs":
|
"CRUD watch APIs":
|
||||||
|
|
||||||
- skip:
|
|
||||||
reason: https://github.com/elastic/elasticsearch/issues/33185
|
|
||||||
version: "6.7.0 - "
|
|
||||||
|
|
||||||
# no need to put watch, exists already
|
# no need to put watch, exists already
|
||||||
- do:
|
- do:
|
||||||
watcher.get_watch:
|
watcher.get_watch:
|
||||||
|
@ -12,7 +7,6 @@
|
||||||
- match: { found : true}
|
- match: { found : true}
|
||||||
- match: { _id: "my_watch" }
|
- match: { _id: "my_watch" }
|
||||||
|
|
||||||
|
|
||||||
# execute watch
|
# execute watch
|
||||||
- do:
|
- do:
|
||||||
watcher.execute_watch:
|
watcher.execute_watch:
|
||||||
|
@ -56,7 +50,6 @@
|
||||||
- match: { _id: "my_watch" }
|
- match: { _id: "my_watch" }
|
||||||
- match: { status.state.active: false }
|
- match: { status.state.active: false }
|
||||||
|
|
||||||
|
|
||||||
# activate watch again, check with GET API as well
|
# activate watch again, check with GET API as well
|
||||||
- do:
|
- do:
|
||||||
watcher.activate_watch:
|
watcher.activate_watch:
|
||||||
|
@ -70,14 +63,8 @@
|
||||||
- match: { _id: "my_watch" }
|
- match: { _id: "my_watch" }
|
||||||
- match: { status.state.active: true }
|
- match: { status.state.active: true }
|
||||||
|
|
||||||
|
|
||||||
---
|
---
|
||||||
"Test watcher stats output":
|
"Test watcher stats output":
|
||||||
|
|
||||||
- skip:
|
|
||||||
reason: https://github.com/elastic/elasticsearch/issues/33185
|
|
||||||
version: "6.7.0 - "
|
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
watcher.stats: {}
|
watcher.stats: {}
|
||||||
- match: { "manually_stopped": false }
|
- match: { "manually_stopped": false }
|
||||||
|
|
|
@ -1,9 +1,5 @@
|
||||||
---
|
---
|
||||||
"CRUD watch APIs":
|
"CRUD watch APIs":
|
||||||
- skip:
|
|
||||||
reason: https://github.com/elastic/elasticsearch/issues/33185
|
|
||||||
version: "6.7.0 - "
|
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
watcher.put_watch:
|
watcher.put_watch:
|
||||||
id: "my_watch"
|
id: "my_watch"
|
||||||
|
@ -31,7 +27,6 @@
|
||||||
- match: { found : true}
|
- match: { found : true}
|
||||||
- match: { _id: "my_watch" }
|
- match: { _id: "my_watch" }
|
||||||
|
|
||||||
|
|
||||||
# execute watch
|
# execute watch
|
||||||
- do:
|
- do:
|
||||||
watcher.execute_watch:
|
watcher.execute_watch:
|
||||||
|
@ -89,14 +84,8 @@
|
||||||
- match: { _id: "my_watch" }
|
- match: { _id: "my_watch" }
|
||||||
- match: { status.state.active: true }
|
- match: { status.state.active: true }
|
||||||
|
|
||||||
|
|
||||||
---
|
---
|
||||||
"Test watcher stats output":
|
"Test watcher stats output":
|
||||||
|
|
||||||
- skip:
|
|
||||||
reason: https://github.com/elastic/elasticsearch/issues/33185
|
|
||||||
version: "6.7.0 - "
|
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
watcher.stats: {}
|
watcher.stats: {}
|
||||||
- match: { "manually_stopped": false }
|
- match: { "manually_stopped": false }
|
||||||
|
|
|
@ -1,10 +1,5 @@
|
||||||
---
|
---
|
||||||
"CRUD watch APIs":
|
"CRUD watch APIs":
|
||||||
|
|
||||||
- skip:
|
|
||||||
reason: https://github.com/elastic/elasticsearch/issues/33185
|
|
||||||
version: "6.7.0 - "
|
|
||||||
|
|
||||||
# no need to put watch, exists already
|
# no need to put watch, exists already
|
||||||
- do:
|
- do:
|
||||||
watcher.get_watch:
|
watcher.get_watch:
|
||||||
|
@ -12,7 +7,6 @@
|
||||||
- match: { found : true}
|
- match: { found : true}
|
||||||
- match: { _id: "my_watch" }
|
- match: { _id: "my_watch" }
|
||||||
|
|
||||||
|
|
||||||
# execute watch
|
# execute watch
|
||||||
- do:
|
- do:
|
||||||
watcher.execute_watch:
|
watcher.execute_watch:
|
||||||
|
@ -72,11 +66,6 @@
|
||||||
|
|
||||||
---
|
---
|
||||||
"Test watcher stats output":
|
"Test watcher stats output":
|
||||||
|
|
||||||
- skip:
|
|
||||||
reason: https://github.com/elastic/elasticsearch/issues/33185
|
|
||||||
version: "6.7.0 - "
|
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
watcher.stats: {}
|
watcher.stats: {}
|
||||||
- match: { "manually_stopped": false }
|
- match: { "manually_stopped": false }
|
||||||
|
|
Loading…
Reference in New Issue