Skip to content

Commit

Permalink
Fix port in couchdb module system test (#10358)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoriano authored Jan 28, 2019
1 parent cead4b6 commit 3d58a68
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions metricbeat/tests/system/test_couchdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,13 @@ def test_stats(self):

output = self.read_output_json()
self.assertTrue(len(output) >= 1)
evt = output[0]
print(evt)
event = output[0]
print(event)

self.assert_fields_are_documented(evt)
self.assertNotIn("error", event)

self.assert_fields_are_documented(event)

def get_hosts(self):
return [os.getenv('COUCHDB_HOST', 'localhost') + ':' +
os.getenv('COUCHDB_PORT', '5894')]
os.getenv('COUCHDB_PORT', '5984')]

0 comments on commit 3d58a68

Please sign in to comment.