Skip to content

Commit

Permalink
Fix: use metrics_path instead of path in system tests (elastic#14690)
Browse files Browse the repository at this point in the history
  • Loading branch information
mtojek authored and Marcin Tojek committed Nov 26, 2019
1 parent 80b20e2 commit b26ba77
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion metricbeat/tests/system/config/metricbeat.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,11 @@ metricbeat.modules:
period: {{ m.period }}
{% endif -%}

{% if m.metrics_path -%}
metrics_path: {{ m.metrics_path }}
{% endif -%}

{% if m.path -%}
metrics_path: {{ m.path }}
path: {{ m.path }}
{% endif -%}

Expand Down
2 changes: 1 addition & 1 deletion metricbeat/tests/system/test_dropwizard.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def test_dropwizard(self):
"name": "dropwizard",
"metricsets": ["collector"],
"hosts": self.get_hosts(),
"path": "/test/metrics",
"metrics_path": "/test/metrics",
"period": "1s",
"namespace": "test",
}])
Expand Down

0 comments on commit b26ba77

Please sign in to comment.