Skip to content

Commit 01e959a

Browse files
committed
test update contract test
1 parent 30831ae commit 01e959a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contract-tests/tests/test/amazon/misc/resource_attributes_test_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def assert_resource_attributes(self, service_name):
5858
target_spans: List[Span] = []
5959
for resource_scope_span in resource_scope_spans:
6060
# pylint: disable=no-member
61-
if resource_scope_span.span.name == "tcp.connect":
61+
if resource_scope_span.span.name == "GET" and resource_scope_span.span.kind == Span.SPAN_KIND_SERVER:
6262
target_spans.append(resource_scope_span.resource_spans)
6363

6464
self.assertEqual(len(target_spans), 1)

0 commit comments

Comments
 (0)