Skip to content

Commit 5d424c0

Browse files
committed
use localhost instead of wait for resolver
1 parent ed4e659 commit 5d424c0

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tests/unit/connector/test_s3_output.py

+3-4
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
# pylint: disable=attribute-defined-outside-init
66
import logging
77
from copy import deepcopy
8-
from datetime import datetime
9-
from math import isclose
108
from unittest import mock
119

1210
import pytest
@@ -30,7 +28,7 @@ class NotJsonSerializableMock:
3028
class TestS3Output(BaseOutputTestCase):
3129
CONFIG = {
3230
"type": "s3_output",
33-
"endpoint_url": "http://host:123",
31+
"endpoint_url": "http://localhost:23423",
3432
"aws_access_key_id": "foo_aws_access_key_id",
3533
"aws_secret_access_key": "foo_aws_secret_access_key",
3634
"bucket": "foo_bucket",
@@ -50,7 +48,8 @@ class TestS3Output(BaseOutputTestCase):
5048

5149
def test_describe_returns_s3_output(self):
5250
assert (
53-
self.object.describe() == "S3Output (Test Instance Name) - S3 Output: http://host:123"
51+
self.object.describe()
52+
== "S3Output (Test Instance Name) - S3 Output: http://localhost:23423"
5453
)
5554

5655
base_prefix_tests_cases = ["", "test"]

0 commit comments

Comments
 (0)