File tree 2 files changed +13
-3
lines changed
tests/ext/request-replayer
2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,10 @@ void ddog_ph_file_drop(struct ddog_NativeFile ph);
33
33
34
34
ddog_MaybeError ddog_alloc_anon_shm_handle (uintptr_t size , struct ddog_ShmHandle * * handle );
35
35
36
+ ddog_MaybeError ddog_alloc_anon_shm_handle_named (uintptr_t size ,
37
+ struct ddog_ShmHandle * * handle ,
38
+ ddog_CharSlice name );
39
+
36
40
ddog_MaybeError ddog_map_shm (struct ddog_ShmHandle * handle ,
37
41
struct ddog_MappedMem_ShmHandle * * mapped ,
38
42
void * * pointer ,
Original file line number Diff line number Diff line change 1
1
--TEST--
2
- DDTrace\ExceptionSpanEvent serialization with overridden attributes
2
+ Assert that the default environment can be read from agent info
3
3
--SKIPIF--
4
4
<?php include __DIR__ . '/../includes/skipif_no_dev_env.inc ' ; ?>
5
5
<?php
6
- echo "nocache \n" ;
6
+ if (PHP_VERSION_ID >= 80100 ) {
7
+ echo "nocache \n" ;
8
+ }
7
9
$ ctx = stream_context_create ([
8
10
'http ' => [
9
11
'method ' => 'PUT ' ,
@@ -28,7 +30,11 @@ datadog.trace.agent_test_session_token=dd_trace_agent_env
28
30
<?php
29
31
30
32
$ span = \DDTrace \start_span ();
31
- usleep (500000 );
33
+ if (getenv ('USE_ZEND_ALLOC ' ) === '0 ' && !getenv ("SKIP_ASAN " )) {
34
+ sleep (3 ); // timing sensitive
35
+ } else {
36
+ sleep (1 );
37
+ }
32
38
\DDTrace \close_span ();
33
39
var_dump ($ span ->env );
34
40
You can’t perform that action at this time.
0 commit comments