[TEST] fix open_time in jobs_get_stats YAML test

Original commit: elastic/x-pack-elasticsearch@2a1c62ab3c
This commit is contained in:
Dimitrios Athanasiou 2017-03-23 19:33:26 +00:00
parent a8b1b3e863
commit 061e3fc1fe
1 changed files with 2 additions and 2 deletions

View File

@ -85,7 +85,7 @@ setup:
- is_true: jobs.0.node.name - is_true: jobs.0.node.name
- is_true: jobs.0.node.transport_address - is_true: jobs.0.node.transport_address
- match: { jobs.0.node.attributes.max_running_jobs: "10"} - match: { jobs.0.node.attributes.max_running_jobs: "10"}
- gte: { jobs.0.open_time: 0} - gte: { jobs.0.open_time: "0s"}
--- ---
"Test get job stats for closed job": "Test get job stats for closed job":
@ -134,7 +134,7 @@ setup:
- match: { jobs.0.data_counts.processed_record_count: 0 } - match: { jobs.0.data_counts.processed_record_count: 0 }
- match: { jobs.0.model_size_stats.model_bytes : 0 } - match: { jobs.0.model_size_stats.model_bytes : 0 }
- match: { jobs.0.state: opened } - match: { jobs.0.state: opened }
- gte: { jobs.0.open_time: 0} - gte: { jobs.0.open_time: "0s"}
--- ---
"Test get all job stats explicitly": "Test get all job stats explicitly":