From 6902b8f64cb873d294e75867a8150bc1e13f9bed Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Tue, 27 Oct 2020 21:05:16 +0100 Subject: [PATCH] testing: freebsd [travis skip] --- test/lib/ForkAndExec.cpp | 2 +- test/tests/memcached/errors.cpp | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/test/lib/ForkAndExec.cpp b/test/lib/ForkAndExec.cpp index 48a8dc18..ac30dd02 100644 --- a/test/lib/ForkAndExec.cpp +++ b/test/lib/ForkAndExec.cpp @@ -107,7 +107,7 @@ void ForkAndExec::closePipe(int &fd) { } void ForkAndExec::pollExecReadyPipe() { -#if __APPLE__ || __FreeBSD__ +#if __APPLE__ char c, n = 50; do { if (0 == read(ready[mode::READ], &c, 1)) { diff --git a/test/tests/memcached/errors.cpp b/test/tests/memcached/errors.cpp index c143b27f..4b3b4684 100644 --- a/test/tests/memcached/errors.cpp +++ b/test/tests/memcached/errors.cpp @@ -23,11 +23,7 @@ TEST_CASE("memcached_errors") { REQUIRE_SUCCESS(memcached_set(memc, S("foo"), nullptr, 0, 0, 0)); memcached_quit(memc); - test.cluster.stop( -#if __FreeBSD__ - true // graceful -#endif - ); + test.cluster.stop(); Retry cluster_is_stopped{[&cluster = test.cluster]{ return cluster.isStopped(); }}; -- 2.30.2