[TEST] Fix open_time assertions

Original commit: elastic/x-pack-elasticsearch@a26425970c
This commit is contained in:
Dimitrios Athanasiou 2017-03-24 09:53:29 +00:00
parent 96f4a72825
commit cc5c34e037
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.transport_address
- match: { jobs.0.node.attributes.max_running_jobs: "10"}
- gte: { jobs.0.open_time: "0s"}
- is_true: jobs.0.open_time
---
"Test get job stats for closed job":
@ -134,7 +134,7 @@ setup:
- match: { jobs.0.data_counts.processed_record_count: 0 }
- match: { jobs.0.model_size_stats.model_bytes : 0 }
- match: { jobs.0.state: opened }
- gte: { jobs.0.open_time: "0s"}
- is_true: jobs.0.open_time
---
"Test get all job stats explicitly":