Skip to content
Draft
Changes from all commits
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
3 changes: 1 addition & 2 deletions gitlab_runner/tests/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import copy

import pytest
from requests.exceptions import ConnectionError

from datadog_checks.gitlab_runner import GitlabRunnerCheck

Expand Down Expand Up @@ -32,7 +31,7 @@ def test_connection_failure(aggregator):

gitlab_runner = GitlabRunnerCheck('gitlab', BAD_CONFIG['init_config'], instances=BAD_CONFIG['instances'])

with pytest.raises(ConnectionError):
with pytest.raises(Exception):
gitlab_runner.check(BAD_CONFIG['instances'][0])

# We should get two failed service checks
Expand Down
Loading