Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add e2e test for ambari #10052

Merged
merged 8 commits into from
Sep 14, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Clean up test
  • Loading branch information
yzhan289 committed Sep 13, 2021
commit f6dd6493e72e574bbee610b36daba594ed121f62
6 changes: 2 additions & 4 deletions ambari/tests/test_ambari.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,5 @@ def _mock_clusters(ambari):
# Minimal E2E testing
@pytest.mark.e2e
def test_e2e(dd_agent_check, aggregator, instance):
try:
dd_agent_check(instance, rate=True)
except Exception:
aggregator.assert_service_check("ambari.can_connect", AgentCheck.CRITICAL)
dd_agent_check(instance, rate=True)
aggregator.assert_service_check("ambari.can_connect", AgentCheck.CRITICAL)