Skip to content

Commit a78bcf4

Browse files
committed
modify socket test
1 parent 9fae58d commit a78bcf4

File tree

1 file changed

+4
-18
lines changed

1 file changed

+4
-18
lines changed

tests/integration/memcached/test_socket.php

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -16,26 +16,12 @@
1616
/*INI
1717
*/
1818

19-
/*EXPECT_METRICS
20-
[
21-
"?? agent run id",
22-
"?? start time",
23-
"?? stop time",
24-
[
25-
[{"name":"DurationByCaller/Unknown/Unknown/Unknown/Unknown/all"}, [1, "??", "??", "??", "??", "??"]],
26-
[{"name":"DurationByCaller/Unknown/Unknown/Unknown/Unknown/allOther"}, [1, "??", "??", "??", "??", "??"]],
27-
[{"name":"Datastore/instance/Memcached/__HOST__/my_socket"}, [1, "??", "??", "??", "??", "??"]],
28-
[{"name":"OtherTransaction/all"}, [1, "??", "??", "??", "??", "??"]],
29-
[{"name":"OtherTransaction/php__FILE__"}, [1, "??", "??", "??", "??", "??"]],
30-
[{"name":"OtherTransactionTotalTime"}, [1, "??", "??", "??", "??", "??"]],
31-
[{"name":"OtherTransactionTotalTime/php__FILE__"}, [1, "??", "??", "??", "??", "??"]],
32-
[{"name":"Supportability/Logging/Forwarding/PHP/enabled"}, [1, "??", "??", "??", "??", "??"]],
33-
[{"name":"Supportability/Logging/Metrics/PHP/enabled"}, [1, "??", "??", "??", "??", "??"]],
34-
[{"name":"Supportability/Logging/LocalDecorating/PHP/disabled"}, [1, "??", "??", "??", "??", "??"]]
35-
]
36-
]
19+
/*EXPECT_METRICS_EXIST
20+
Datastore/instance/Memcached/__HOST__/my_socket, 1
3721
*/
3822

23+
/*EXPECT_ERROR_EVENTS null */
24+
3925
require_once(realpath (dirname ( __FILE__ )) . '/../../include/helpers.php');
4026
require_once(realpath (dirname ( __FILE__ )) . '/../../include/tap.php');
4127
require_once(realpath (dirname ( __FILE__ )) . '/memcache.inc');

0 commit comments

Comments
 (0)