17
17
import pytest
18
18
from testing_support .fixtures import dt_enabled , override_application_settings , override_generic_settings
19
19
from testing_support .mock_external_http_server import MockExternalHTTPHResponseHeadersServer
20
- from testing_support .validators .validate_cross_process_headers import validate_cross_process_headers
20
+ from testing_support .validators .validate_distributed_tracing_headers import validate_distributed_tracing_headers
21
21
from testing_support .validators .validate_span_events import validate_span_events
22
22
from testing_support .validators .validate_transaction_errors import validate_transaction_errors
23
23
from testing_support .validators .validate_transaction_metrics import validate_transaction_metrics
@@ -112,7 +112,7 @@ def test_sync_cross_process_request(httpx, sync_client, mock_server, distributed
112
112
)
113
113
@validate_transaction_errors (errors = [])
114
114
@background_task (name = "test_sync_cross_process_request" )
115
- @validate_cross_process_headers
115
+ @validate_distributed_tracing_headers
116
116
def _test ():
117
117
transaction = current_transaction ()
118
118
@@ -129,7 +129,7 @@ def _test():
129
129
@pytest .mark .parametrize ("distributed_tracing,span_events" , ((True , True ), (True , False ), (False , False )))
130
130
@validate_transaction_errors (errors = [])
131
131
@background_task (name = "test_async_cross_process_request" )
132
- @validate_cross_process_headers
132
+ @validate_distributed_tracing_headers
133
133
def test_async_cross_process_request (httpx , async_client , mock_server , loop , distributed_tracing , span_events ):
134
134
global DT_RESPONSE_CODE
135
135
DT_RESPONSE_CODE = 200
0 commit comments