fix restart message to check for
[catagits/Catalyst-Devel.git] / 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 ) {