summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordormando <dormando@rydia.net>2022-02-09 18:44:01 -0800
committerdormando <dormando@rydia.net>2022-02-09 18:44:01 -0800
commite9b28fe92898dda891bc78fb901ba15f834a24cd (patch)
treec497811a1550442f95e8c71713fc226d0641b3f5
parent55035dfec31cb7f3e1bfd6cf2100b8bf69d3838d (diff)
downloadmemcached-e9b28fe92898dda891bc78fb901ba15f834a24cd.tar.gz
tests: workaround for t/watcher.t race1.6.14
need better option for this.. seems to fix this one thing.
-rwxr-xr-x[-rw-r--r--]t/watcher.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/watcher.t b/t/watcher.t
index f631054..360265e 100644..100755
--- a/t/watcher.t
+++ b/t/watcher.t
@@ -79,6 +79,7 @@ if ($res eq "STORED\r\n") {
my $conn_server = new_memcached('-m 60 -o watcher_logbuf_size=8');
my $conn_watcher = $conn_server->new_sock;
+ sleep 1;
print $conn_watcher "watch connevents\n";
$res = <$conn_watcher>;
is($res, "OK\r\n", 'connevents watcher enabled');