Skip to content

Commit

Permalink
fix: remove cleanup_opentelemetry
Browse files Browse the repository at this point in the history
  • Loading branch information
PROFeNoM committed Sep 16, 2024
1 parent c50c2f0 commit ae66da9
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -1140,15 +1140,10 @@ define setup_opentelemetry
cp $(1) $(dir $(1))/composer.json
endef

define cleanup_opentelemetry
rm tests/OpenTelemetry/composer.json
endef

define run_opentelemetry_tests
$(eval TEST_EXTRA_ENV=$(shell [ $(PHP_MAJOR_MINOR) -ge 81 ] && echo "OTEL_PHP_FIBERS_ENABLED=1" || echo '') DD_TRACE_OTEL_ENABLED=1 DD_TRACE_GENERATE_ROOT_SPAN=0)
$(call run_tests,--testsuite=opentelemetry1 $(TESTS))
$(eval TEST_EXTRA_ENV=)
$(call cleanup_opentelemetry)
endef

_test_opentelemetry_beta_setup: global_test_run_dependencies
Expand Down

0 comments on commit ae66da9

Please sign in to comment.