Error Message
AssertionError: Element counts were not equal:
First has 1, Second has 0: 'logstash'
First has 0, Second has 1: 'error'
Stacktrace
self = <test_logstash.Test testMethod=test_node_stats>
@unittest.skipUnless(metricbeat.INTEGRATION_TESTS, "integration test")
def test_node_stats(self):
"""
logstash node_stats metricset test
"""
> self.check_metricset("logstash", "node_stats", self.get_hosts(), self.FIELDS)
module/logstash/test_logstash.py:30:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/system/metricbeat.py:105: in check_metricset
self.assertCountEqual(self.de_dot(fields), evt.keys())
E AssertionError: Element counts were not equal:
E First has 1, Second has 0: 'logstash'
E First has 0, Second has 1: 'error'
REST API
Jenkins 2.289.1
Flaky Test
beats/metricbeat/module/logstash/test_logstash.py
Line 28 in a78436b
Stack Trace