From d17755a680e5c29e67c682f2345cfec399bb7586 Mon Sep 17 00:00:00 2001 From: Michal Nowacki Date: Mon, 13 Jan 2025 12:30:12 -0500 Subject: [PATCH] test: add regression tests for tt_detail off Split tt_detail_off_with_custom_wrapper into two tests that verify agent wraps user functions correctly using API and configuration and that it correctly sends span events for custom wrapped functions when tt_detail is off. --- ..._tt_detail_off_with_custom_wrapper_api.php | 100 ++++++++++++++++++ ...detail_off_with_custom_wrapper_config.php} | 26 +++-- 2 files changed, 115 insertions(+), 11 deletions(-) create mode 100644 tests/regression/test_tt_detail_off_with_custom_wrapper_api.php rename tests/regression/{test_tt_detail_off_with_custom_wrapper.php => test_tt_detail_off_with_custom_wrapper_config.php} (65%) diff --git a/tests/regression/test_tt_detail_off_with_custom_wrapper_api.php b/tests/regression/test_tt_detail_off_with_custom_wrapper_api.php new file mode 100644 index 000000000..48f6a2363 --- /dev/null +++ b/tests/regression/test_tt_detail_off_with_custom_wrapper_api.php @@ -0,0 +1,100 @@ +