Skip to content

Commit ab6e51b

Browse files
committed
tests
1 parent 1e37225 commit ab6e51b

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tests/integrations/stdlib/test_httplib.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -873,9 +873,9 @@ def test_no_request_source_if_duration_too_short(
873873
def add_http_request_source_with_pinned_timestamps(span):
874874
if span_streaming:
875875
span._start_timestamp = datetime.datetime(2024, 1, 1, microsecond=0)
876-
span._timestamp = datetime.datetime(2024, 1, 1, microsecond=99999)
876+
span._end_timestamp = datetime.datetime(2024, 1, 1, microsecond=99999)
877877
result = add_http_request_source(span)
878-
span._timestamp = None
878+
span._end_timestamp = None
879879
return result
880880
else:
881881
span.start_timestamp = datetime.datetime(2024, 1, 1, microsecond=0)
@@ -947,9 +947,9 @@ def test_request_source_if_duration_over_threshold(
947947
def add_http_request_source_with_pinned_timestamps(span):
948948
if span_streaming:
949949
span._start_timestamp = datetime.datetime(2024, 1, 1, microsecond=0)
950-
span._timestamp = datetime.datetime(2024, 1, 1, microsecond=100001)
950+
span._end_timestamp = datetime.datetime(2024, 1, 1, microsecond=100001)
951951
result = add_http_request_source(span)
952-
span._timestamp = None
952+
span._end_timestamp = None
953953
return result
954954
else:
955955
span.start_timestamp = datetime.datetime(2024, 1, 1, microsecond=0)

0 commit comments

Comments
 (0)