Skip to content

Commit

Permalink
minor comments in the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pierotibou committed May 30, 2024
1 parent b5e4ec2 commit 4f72426
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions tests/ext/sidecar_disabled_when_telemetry_disabled.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ Sidecar should be disabled when telemetry is disabled
<?php
include_once 'startup_logging.inc';

// IN PHP 8.3, the sidecar is enabled
// In all other versions the sidecar is disabled.
// But we disable in all cases if telemetry is disabled.
// So in this test, the sidecar should be disabled all the time
$logs = dd_get_startup_logs([], [
'DD_TRACE_DEBUG' => '1',
'DD_INSTRUMENTATION_TELEMETRY_ENABLED' => '0',
Expand Down
1 change: 0 additions & 1 deletion tests/ext/startup_logging_skipif_unix.inc
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@
include_once 'startup_logging.inc';
if (!dd_get_php_cgi()) die('skip: php-cgi SAPI required');
if (strncasecmp(PHP_OS, "WIN", 3) == 0) die('skip: There is no background sender on Windows');
// if ( version_compare(phpversion(),'8.3.0', '<')) die('skip: this test works only on PHP 8.3');

0 comments on commit 4f72426

Please sign in to comment.