Skip to content

Commit 1ce2b9a

Browse files
committed
test: fix pecl tests
Signed-off-by: Alexandre Rulleau <[email protected]>
1 parent 41be886 commit 1ce2b9a

7 files changed

+10
-0
lines changed

tests/ext/fibers/fiber_observer_bailout.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Test fiber observing with bailout
44
<?php if (PHP_VERSION_ID < 80100) die("skip: Fibers are a PHP 8.1+ feature"); ?>
55
--INI--
66
memory_limit=100M
7+
fatal_error_backtraces=0
78
--ENV--
89
DD_TRACE_AUTO_FLUSH_ENABLED=0
910
DD_TRACE_GENERATE_ROOT_SPAN=0

tests/ext/request_timeout_01.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ A PHP request timeout does not leak/segfault (run with leak detection)
66
DD_TRACE_TRACED_INTERNAL_FUNCTIONS=array_sum
77
--INI--
88
max_execution_time=1
9+
fatal_error_backtraces=0
910
--FILE--
1011
<?php
1112
register_shutdown_function(function () {

tests/ext/sandbox/fatal_errors_are_tracked_001.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
E_ERROR fatal errors are tracked from internal function
33
--ENV--
44
DD_TRACE_TRACED_INTERNAL_FUNCTIONS=array_sum
5+
--INI--
6+
fatal_error_backtraces=0
57
--FILE--
68
<?php
79
register_shutdown_function(function () {

tests/ext/sandbox/fatal_errors_are_tracked_002.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ E_ERROR fatal errors are tracked from hitting the memory limit
66
DD_TRACE_TRACED_INTERNAL_FUNCTIONS=array_sum
77
--INI--
88
memory_limit=2M
9+
fatal_error_backtraces=0
910
--FILE--
1011
<?php
1112
register_shutdown_function(function () {

tests/ext/sandbox/fatal_errors_are_tracked_003.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ E_ERROR fatal errors are tracked from hitting the max execution time
66
DD_TRACE_TRACED_INTERNAL_FUNCTIONS=array_sum
77
--INI--
88
max_execution_time=1
9+
fatal_error_backtraces=0
910
--FILE--
1011
<?php
1112
register_shutdown_function(function () {

tests/ext/sandbox/fatal_errors_are_tracked_004.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
E_USER_ERROR fatal errors are tracked from userland
33
--ENV--
44
DD_TRACE_TRACED_INTERNAL_FUNCTIONS=array_sum
5+
--INI--
6+
fatal_error_backtraces=0
57
--FILE--
68
<?php
79
register_shutdown_function(function () {

tests/ext/sandbox/fatal_errors_are_tracked_005.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
All open internal spans are marked with the fatal error
33
--ENV--
44
DD_TRACE_TRACED_INTERNAL_FUNCTIONS=array_sum,DDTrace\Testing\trigger_error
5+
--INI--
6+
fatal_error_backtraces=0
57
--FILE--
68
<?php
79
register_shutdown_function(function () {

0 commit comments

Comments
 (0)