Skip to content

Commit

Permalink
Merge pull request #221 from skilld-labs/fix-metadata-test-path
Browse files Browse the repository at this point in the history
Path in test is different for releases
  • Loading branch information
NoiseByNorthwest authored Aug 14, 2023
2 parents c88cb78 + 40aef99 commit e6ad49d
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions tests/spx_custom_metadata.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ foreach ($metadataStrings as $metadataString) {
"host_name": "%s",
"process_pid": %d,
"process_tid": %d,
"process_pwd": "%s\/php-spx",
"process_pwd": "%s\/php-spx%s",
"cli": 1,
"cli_command_line": "%s\/php-spx\/tests\/spx_custom_metadata.php",
"cli_command_line": "%s\/php-spx%s\/tests\/spx_custom_metadata.php",
"http_request_uri": "n\/a",
"http_method": "GET",
"http_host": "n\/a",
Expand All @@ -66,9 +66,9 @@ foreach ($metadataStrings as $metadataString) {
"host_name": "%s",
"process_pid": %d,
"process_tid": %d,
"process_pwd": "%s\/php-spx",
"process_pwd": "%s\/php-spx%s",
"cli": 1,
"cli_command_line": "%s\/php-spx\/tests\/spx_custom_metadata.php",
"cli_command_line": "%s\/php-spx%s\/tests\/spx_custom_metadata.php",
"http_request_uri": "n\/a",
"http_method": "GET",
"http_host": "n\/a",
Expand All @@ -89,9 +89,9 @@ foreach ($metadataStrings as $metadataString) {
"host_name": "%s",
"process_pid": %d,
"process_tid": %d,
"process_pwd": "%s\/php-spx",
"process_pwd": "%s\/php-spx%s",
"cli": 1,
"cli_command_line": "%s\/php-spx\/tests\/spx_custom_metadata.php",
"cli_command_line": "%s\/php-spx%s\/tests\/spx_custom_metadata.php",
"http_request_uri": "n\/a",
"http_method": "GET",
"http_host": "n\/a",
Expand All @@ -106,18 +106,18 @@ foreach ($metadataStrings as $metadataString) {
,"zm"
]
}
PHP Notice: SPX: spx_profiler_full_report_set_custom_metadata_str(): too large $customMetadataStr string, it must not exceed 4KB in %s/php-spx/tests/spx_custom_metadata.php on line 18
PHP Notice: SPX: spx_profiler_full_report_set_custom_metadata_str(): too large $customMetadataStr string, it must not exceed 4KB in %s/php-spx%s/tests/spx_custom_metadata.php on line 18

Notice: SPX: spx_profiler_full_report_set_custom_metadata_str(): too large $customMetadataStr string, it must not exceed 4KB in %s/php-spx/tests/spx_custom_metadata.php on line 18
Notice: SPX: spx_profiler_full_report_set_custom_metadata_str(): too large $customMetadataStr string, it must not exceed 4KB in %s/php-spx%s/tests/spx_custom_metadata.php on line 18
{
"key": "spx-full-%s",
"exec_ts": %d,
"host_name": "%s",
"process_pid": %d,
"process_tid": %d,
"process_pwd": "%s\/php-spx",
"process_pwd": "%s\/php-spx%s",
"cli": 1,
"cli_command_line": "%s\/php-spx\/tests\/spx_custom_metadata.php",
"cli_command_line": "%s\/php-spx%s\/tests\/spx_custom_metadata.php",
"http_request_uri": "n\/a",
"http_method": "GET",
"http_host": "n\/a",
Expand All @@ -138,9 +138,9 @@ Notice: SPX: spx_profiler_full_report_set_custom_metadata_str(): too large $cust
"host_name": "%s",
"process_pid": %d,
"process_tid": %d,
"process_pwd": "%s\/php-spx",
"process_pwd": "%s\/php-spx%s",
"cli": 1,
"cli_command_line": "%s\/php-spx\/tests\/spx_custom_metadata.php",
"cli_command_line": "%s\/php-spx%s\/tests\/spx_custom_metadata.php",
"http_request_uri": "n\/a",
"http_method": "GET",
"http_host": "n\/a",
Expand Down

0 comments on commit e6ad49d

Please sign in to comment.