Skip to content

Commit

Permalink
Update unit tests to reflect changes in #605
Browse files Browse the repository at this point in the history
  • Loading branch information
ebadyano committed Feb 25, 2019
1 parent cd9c0f2 commit 9af9a1c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/driver/runner_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ def test_bulk_index_success_without_metadata_with_doc_type(self, es):
"action-metadata-present": False,
"bulk-size": 3,
"index": "test-index",
"type": "test-type"
"type": "_doc"
}

result = bulk(es, bulk_params)
Expand Down
6 changes: 3 additions & 3 deletions tests/metrics_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,7 @@ def test_store_race(self):
]

t = track.Track(name="unittest",
indices=[track.Index(name="tests", types=["test-type"])],
indices=[track.Index(name="tests", types=["_doc"])],
challenges=[track.Challenge(name="index", default=True, schedule=schedule)])

race = metrics.Race(rally_version="0.4.4", environment_name="unittest", trial_id=EsRaceStoreTests.TRIAL_ID,
Expand Down Expand Up @@ -875,7 +875,7 @@ def test_store_results(self):
]

t = track.Track(name="unittest-track",
indices=[track.Index(name="tests", types=["test-type"])],
indices=[track.Index(name="tests", types=["_doc"])],
challenges=[track.Challenge(name="index", default=True, schedule=schedule)])

c = cluster.Cluster([], [], None)
Expand Down Expand Up @@ -1218,7 +1218,7 @@ def test_store_race(self):
]

t = track.Track(name="unittest",
indices=[track.Index(name="tests", types=["test-type"])],
indices=[track.Index(name="tests", types=["_doc"])],
challenges=[track.Challenge(name="index", default=True, schedule=schedule)])

race = metrics.Race(rally_version="0.4.4", environment_name="unittest", trial_id=FileRaceStoreTests.TRIAL_ID,
Expand Down

0 comments on commit 9af9a1c

Please sign in to comment.