Skip to content

Commit

Permalink
update reindexing test
Browse files Browse the repository at this point in the history
  • Loading branch information
alisonelizabeth committed Feb 1, 2021
1 parent 81695cd commit e5c18fc
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ export default function ({ getService }) {
expect(indexSummary[newIndexName]).to.be.an('object');
// The original index name is aliased to the new one
expect(indexSummary[newIndexName].aliases.dummydata).to.be.an('object');
// Verify mappings exist on new index
expect(indexSummary[newIndexName].mappings.properties).to.be.an('object');
// The number of documents in the new index matches what we expect
expect((await es.count({ index: lastState.newIndexName })).body.count).to.be(3);

Expand Down

0 comments on commit e5c18fc

Please sign in to comment.