testing: skip udp on macos as memcached just crashes
authorMichael Wallner <mike@php.net>
Mon, 5 Oct 2020 11:20:41 +0000 (13:20 +0200)
committerMichael Wallner <mike@php.net>
Mon, 5 Oct 2020 11:20:41 +0000 (13:20 +0200)
test/tests/memcached/udp.cpp

index 0c76f535f9caa1304151039f9d1796d7fdad8afb..85e44126c7ae742becda21bddf4bc6470408960c 100644 (file)
@@ -2,6 +2,10 @@
 #include "test/lib/MemcachedCluster.hpp"
 
 TEST_CASE("memcached_udp") {
+#ifdef __APPLE__
+  WARN("skip: memcached crashes");
+  SUCCEED();
+#else
   auto test = MemcachedCluster::udp();
   auto memc = &test.memc;
 
@@ -89,4 +93,5 @@ TEST_CASE("memcached_udp") {
       }
     }
   }
+#endif
 }