Skip to content

Commit

Permalink
Add missing integration_tests check to metricbeat xpack test (elastic…
Browse files Browse the repository at this point in the history
…#15779)

This test was running with the unit test target and failing.
  • Loading branch information
andrewkroh committed Jan 24, 2020
1 parent e847c75 commit 6175a53
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions metricbeat/module/elasticsearch/test_elasticsearch.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ def test_metricsets(self, metricset):
self.check_metricset("elasticsearch", metricset, self.get_hosts(), self.FIELDS +
["service"], extras={"index_recovery.active_only": "false"})

@unittest.skipUnless(metricbeat.INTEGRATION_TESTS, "integration test")
def test_xpack(self):
"""
elasticsearch-xpack module tests
Expand Down

0 comments on commit 6175a53

Please sign in to comment.