[TEST] Ensure job does not trigger
By setting the cron to 2017, we ensure it won't trigger. This makes it easier to test because we know the job will _only_ be in STARTED, and we can ignore INDEXING states due to transient triggers. Closes #35779
This commit is contained in:
parent
78209188bc
commit
b01daedfb5
|
@ -22,7 +22,7 @@ setup:
|
|||
{
|
||||
"index_pattern": "foo",
|
||||
"rollup_index": "foo_rollup",
|
||||
"cron": "*/30 * * * * ?",
|
||||
"cron": "*/30 * * * * ? 2017",
|
||||
"page_size" :10,
|
||||
"groups" : {
|
||||
"date_histogram": {
|
||||
|
@ -51,7 +51,7 @@ setup:
|
|||
id: "foo"
|
||||
index_pattern: "foo"
|
||||
rollup_index: "foo_rollup"
|
||||
cron: "*/30 * * * * ?"
|
||||
cron: "*/30 * * * * ? 2017"
|
||||
page_size: 10
|
||||
groups :
|
||||
date_histogram:
|
||||
|
@ -98,7 +98,7 @@ setup:
|
|||
id: "foo"
|
||||
index_pattern: "foo"
|
||||
rollup_index: "foo_rollup"
|
||||
cron: "*/30 * * * * ?"
|
||||
cron: "*/30 * * * * ? 2017"
|
||||
page_size: 10
|
||||
groups :
|
||||
date_histogram:
|
||||
|
@ -145,7 +145,7 @@ setup:
|
|||
id: "foo"
|
||||
index_pattern: "foo"
|
||||
rollup_index: "foo_rollup"
|
||||
cron: "*/30 * * * * ?"
|
||||
cron: "*/30 * * * * ? 2017"
|
||||
page_size: 10
|
||||
groups :
|
||||
date_histogram:
|
||||
|
|
Loading…
Reference in New Issue