Skip to content

Commit

Permalink
adapt tests for fieldname change
Browse files Browse the repository at this point in the history
  • Loading branch information
Hendrik Muhs committed Aug 10, 2018
1 parent a3f53ee commit b51853b
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions x-pack/docs/en/rest-api/rollup/get-job.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ Which will yield the following response:
"stats" : {
"pages_processed" : 0,
"documents_processed" : 0,
"rollups_indexed" : 0,
"documents_indexed" : 0,
"trigger_count" : 0
}
}
Expand Down Expand Up @@ -219,7 +219,7 @@ Which will yield the following response:
"stats" : {
"pages_processed" : 0,
"documents_processed" : 0,
"rollups_indexed" : 0,
"documents_indexed" : 0,
"trigger_count" : 0
}
},
Expand Down Expand Up @@ -268,7 +268,7 @@ Which will yield the following response:
"stats" : {
"pages_processed" : 0,
"documents_processed" : 0,
"rollups_indexed" : 0,
"documents_indexed" : 0,
"trigger_count" : 0
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ setup:
stats:
pages_processed: 0
documents_processed: 0
rollups_indexed: 0
documents_indexed: 0
trigger_count: 0
status:
job_state: "stopped"
Expand Down Expand Up @@ -113,7 +113,7 @@ setup:
stats:
pages_processed: 0
documents_processed: 0
rollups_indexed: 0
documents_indexed: 0
trigger_count: 0
status:
job_state: "stopped"
Expand Down Expand Up @@ -160,7 +160,7 @@ setup:
stats:
pages_processed: 0
documents_processed: 0
rollups_indexed: 0
documents_indexed: 0
trigger_count: 0
status:
job_state: "stopped"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ setup:
stats:
pages_processed: 0
documents_processed: 0
rollups_indexed: 0
documents_indexed: 0
trigger_count: 0
status:
job_state: "stopped"
Expand Down Expand Up @@ -178,7 +178,7 @@ setup:
stats:
pages_processed: 0
documents_processed: 0
rollups_indexed: 0
documents_indexed: 0
trigger_count: 0
status:
job_state: "stopped"
Expand All @@ -204,7 +204,7 @@ setup:
stats:
pages_processed: 0
documents_processed: 0
rollups_indexed: 0
documents_indexed: 0
trigger_count: 0
status:
job_state: "stopped"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ setup:
stats:
pages_processed: 0
documents_processed: 0
rollups_indexed: 0
documents_indexed: 0
trigger_count: 0
status:
job_state: "stopped"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ public void testBigRollup() throws Exception {
Map<String, Object> job = getJob(getRollupJobResponse, "rollup-job-test");
if (job != null) {
assertThat(ObjectPath.eval("status.job_state", job), equalTo("started"));
assertThat(ObjectPath.eval("stats.rollups_indexed", job), equalTo(41));
assertThat(ObjectPath.eval("stats.documents_indexed", job), equalTo(41));
}
}, 30L, TimeUnit.SECONDS);

Expand Down

0 comments on commit b51853b

Please sign in to comment.