Skip to content

Commit 4c6e814

Browse files
authored
Relax assertion about metric count to make test less flaky (#17389)
1 parent c286620 commit 4c6e814

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mongo/tests/test_integration_standalone.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def test_mongo_dbstats_tag(aggregator, check, instance_dbstats_tag_dbname, dd_ru
101101
'server:mongodb://localhost:27017/',
102102
]
103103
for metric, value in expected_metrics.items():
104-
aggregator.assert_metric(metric, value, expected_tags, count=1)
104+
aggregator.assert_metric(metric, value, expected_tags)
105105

106106

107107
def test_mongo_1valid_and_1invalid_custom_queries(

0 commit comments

Comments
 (0)