diff options
author | dormando <dormando@rydia.net> | 2023-04-28 12:34:58 -0700 |
---|---|---|
committer | dormando <dormando@rydia.net> | 2023-04-28 12:34:58 -0700 |
commit | 6350e44292a9b72f9b1f9b4dce572903ae2ade14 (patch) | |
tree | 2c92d24985eaf15260e16fbcca01f9b7285518c0 /t/proxy.t | |
parent | 24bf90cff7548c0becb0fee3213c274a9fb29ee5 (diff) | |
download | memcached-6350e44292a9b72f9b1f9b4dce572903ae2ade14.tar.gz |
proxy: let tests use unix socket for proxy daemon
A long sleep in the unix startup code made backends hit the connection
timeout before the backends were configured.
Make all the proxy tests use the unix socket instead of listening on a
hardcoded port. Proxy code is completely equivalent from the client
standpoint.
This fix should make the whole test suite run a bit faster too.
Diffstat (limited to 't/proxy.t')
-rw-r--r-- | t/proxy.t | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -31,7 +31,7 @@ for (2 .. 6) { } #my $sock = $srv->sock; -my $p_srv = new_memcached('-o proxy_config=./t/startfile.lua -l 127.0.0.1', 11211); +my $p_srv = new_memcached('-o proxy_config=./t/startfile.lua'); my $p_sock = $p_srv->sock; # hack to help me use T_MEMD_USE_DAEMON for proxy. |