We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e97b44 commit 6db55f6Copy full SHA for 6db55f6
agent/tests/test_memcached.c
@@ -80,6 +80,15 @@ static void test_create_datastore_instance(void) {
80
.port_path_or_id = "6379",
81
}),
82
nr_php_memcached_create_datastore_instance("host.name", 6379));
83
+
84
+ assert_datastore_instance_equals_destroy(
85
+ "NULL socket",
86
+ &((nr_datastore_instance_t){
87
+ .host = system_host_name,
88
+ .database_name = "unknown",
89
+ .port_path_or_id = "unknown",
90
+ }),
91
+ nr_php_memcached_create_datastore_instance(NULL, 0));
92
}
93
94
void test_main(void* p NRUNUSED) {
0 commit comments