fix restart message to check for
Graham Knop [Sat, 29 Aug 2020 16:09:15 +0000 (18:09 +0200)]
t/optional_http-server-restart.t

index e914365..3e3ee9a 100644 (file)
@@ -208,7 +208,7 @@ sub look_for_restart {
     my $count = 0;
     my $line;
 
-    while ( ( $line || '' ) !~ /can connect/ ) {
+    while ( ( $line || '' ) !~ /Accepting connections/ ) {
         $line = $server->getline;
         sleep 0.1;
         if ( $count++ > 300 ) {