]> xenbits.xensource.com Git - people/iwj/osstest.git/commitdiff
Osstest: resource_shared_mark_ready: prod the queue daemon
authorIan Jackson <iwj@woking.cam.xci-test.com>
Tue, 30 Oct 2012 16:42:24 +0000 (16:42 +0000)
committerIan Jackson <iwj@woking.cam.xci-test.com>
Wed, 31 Oct 2012 12:28:56 +0000 (12:28 +0000)
Osstest.pm

index f0d76204dfa5b9e6db00a8bb6619674cd7971a82..a6bc90c06e4ab5a7bbbbbd892bb79142c89f4d99 100644 (file)
@@ -1523,6 +1523,14 @@ END
 END
         }
     });
+    if (!eval {
+       my $qserv = tcpconnect_queuedaemon();
+       print $qserv "prod\n" or die $!;
+       $_ = <$qserv>;  defined && m/^OK prod\b/ or die "$_ ?";
+       1;
+    }) {
+       logm("post-mark-ready queue daemon prod failed: $@");
+    }
     logm("$restype $resname shared $sharetype marked ready");
 }