Skip to content

Commit

Permalink
[elastic] python-black on elastic/tests/test_elastic.py
Browse files Browse the repository at this point in the history
  • Loading branch information
missingcharacter committed Dec 6, 2021
1 parent fbfba82 commit 580e516
Showing 1 changed file with 19 additions and 15 deletions.
34 changes: 19 additions & 15 deletions elastic/tests/test_elastic.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,21 +212,25 @@ def test_detailed_index_stats(dd_environment, aggregator):
aggregator.assert_metric_has_tag('elasticsearch.primaries.docs.count', tag='index_name:_all')
aggregator.assert_metric_has_tag('elasticsearch.primaries.docs.count', tag='index_name:testindex')
aggregator.assert_metric_has_tag('elasticsearch.primaries.docs.count', tag='index_name:.testindex')
aggregator.assert_metrics_using_metadata(get_metadata_metrics(), check_metric_type=False, exclude=[
"system.cpu.idle",
"system.load.1",
"system.load.15",
"system.load.5",
"system.mem.free",
"system.mem.total",
"system.mem.usable",
"system.mem.used",
"system.net.bytes_rcvd",
"system.net.bytes_sent",
"system.swap.free",
"system.swap.total",
"system.swap.used",
])
aggregator.assert_metrics_using_metadata(
get_metadata_metrics(),
check_metric_type=False,
exclude=[
"system.cpu.idle",
"system.load.1",
"system.load.15",
"system.load.5",
"system.mem.free",
"system.mem.total",
"system.mem.usable",
"system.mem.used",
"system.net.bytes_rcvd",
"system.net.bytes_sent",
"system.swap.free",
"system.swap.total",
"system.swap.used",
],
)


@pytest.mark.integration
Expand Down

0 comments on commit 580e516

Please sign in to comment.