Skip to content

Commit

Permalink
Fix broken system tests (#7)
Browse files Browse the repository at this point in the history
The version number of apm-server and the system tests have to be kept manually in sync until elastic/beats#4769 is merged.
  • Loading branch information
ruflin authored and simitt committed Aug 7, 2017
1 parent 4e8bbbf commit 14e949a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/system/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ def test_load_docs_with_template(self):
"""

# TODO Needs cleanup when https://github.com/elastic/beats/pull/4769 merged
base_name = "apmserver-tests"
beat_version = "0.1.0"
base_name = "apm-server-tests"
beat_version = "0.1.1"
index_name = base_name + "-" + beat_version + "-1"

self.render_config_template(
Expand Down Expand Up @@ -63,7 +63,7 @@ def test_load_docs_with_template(self):

# make sure template is loaded
self.wait_until(
lambda: self.log_contains("Elasticsearch template with name 'apm-server-tests-0.1.0' loaded"))
lambda: self.log_contains("Elasticsearch template with name 'apm-server-tests-0.1.1' loaded"))

self.wait_until(lambda: es.indices.exists(index_name))
es.indices.refresh(index=index_name)
Expand Down

0 comments on commit 14e949a

Please sign in to comment.