From: Michael Wallner Date: Mon, 19 Oct 2020 14:28:21 +0000 (+0200) Subject: testing: avoid default port X-Git-Tag: 1.1.0-beta1~198 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=d0e24810ff47899738a20b4c5b59c7425ad918b9;p=awesomized%2Flibmemcached testing: avoid default port --- diff --git a/test/tests/lib.cpp b/test/tests/lib.cpp index aac8f436..ab5bc7f5 100644 --- a/test/tests/lib.cpp +++ b/test/tests/lib.cpp @@ -4,7 +4,10 @@ #include "test/lib/Server.hpp" TEST_CASE("lib/Server") { - Server server{MEMCACHED_BINARY, {Server::arg_t{"-v"}}}; + Server server{MEMCACHED_BINARY, { + Server::arg_t{"-v"}, + Server::arg_pair_t{"-p", random_port_string} + }}; SECTION("starts and listens") {