Skip to content

Commit

Permalink
Add e2e to process check (#4408)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristineTChen authored Aug 22, 2019
1 parent 645b2ee commit f1c48cd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions process/tests/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,10 @@ def test_check(aggregator, check):
check.check(deepcopy(common.INSTANCE))
for metric in common.EXPECTED_METRICS:
aggregator.assert_metric(metric, tags=common.EXPECTED_TAGS)


@pytest.mark.e2e
def test_check_e2e(dd_agent_check):
aggregator = dd_agent_check(deepcopy(common.INSTANCE))
for metric in common.EXPECTED_METRICS:
aggregator.assert_metric(metric, tags=common.EXPECTED_TAGS)
2 changes: 2 additions & 0 deletions process/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ envlist =

[testenv]
dd_check_style = true
description =
py{27,37}: e2e ready
usedevelop = true
platform = linux|darwin|windows
deps =
Expand Down

0 comments on commit f1c48cd

Please sign in to comment.