Actually reap node2 process in redis cluster test
authorGraeme Fowler <graemef@exim.org>
Wed, 4 Apr 2018 10:30:21 +0000 (11:30 +0100)
committerGraeme Fowler <graemef@exim.org>
Wed, 4 Apr 2018 10:30:21 +0000 (11:30 +0100)
test/scripts/2701-redis-cluster/2701

index 66a50051a58f84513715cd0f39231d11d0aa05a4..d1c9ffc35234e74c740039c53500ac2a1483a05c 100644 (file)
@@ -43,7 +43,7 @@ ${lookup redis{get ${quote_redis:01t67it}}}
 #
 sleep 5
 perl
 #
 sleep 5
 perl
-my @pidfiles = ( "DIR/redis-cluster/node1/node1.pid", "DIR/redis-cluster/node2/" );
+my @pidfiles = ( "DIR/redis-cluster/node1/node1.pid", "DIR/redis-cluster/node2/node2.pid" );
 foreach my $pidfile (@pidfiles) {
   if ( -f $pidfile ) {
     open (my $fh, "<", $pidfile);
 foreach my $pidfile (@pidfiles) {
   if ( -f $pidfile ) {
     open (my $fh, "<", $pidfile);