Skip to content

Commit 195134e

Browse files
authored
Update test_config_consistency.py to work under gitlab (#6794)
1 parent 9ee5627 commit 195134e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/test_config_consistency.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,8 @@ def setup_query_string_obfuscation_empty_server(self):
122122
def test_query_string_obfuscation_empty_server(self):
123123
spans = [s for _, _, s in interfaces.library.get_spans(request=self.r, full_trace=True)]
124124
server_span = _get_span_by_tags(spans, tags={"http.url": "http://localhost:7777/?application_key=value"})
125+
if not server_span:
126+
server_span = _get_span_by_tags(spans, tags={"http.url": "http://docker:7777/?application_key=value"})
125127
assert server_span, "\n".join([str(s) for s in spans])
126128

127129

0 commit comments

Comments
 (0)