From e9dd6680470c70ac38b68fa78c17e986e53f709f Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Mon, 19 Feb 2007 00:07:09 -0800 Subject: [PATCH] Create an empty pseudo-packages.description, and sleep after creating the webserver --- t/lib/DebbugsTest.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/t/lib/DebbugsTest.pm b/t/lib/DebbugsTest.pm index 9f5f8e6..f04dfb6 100644 --- a/t/lib/DebbugsTest.pm +++ b/t/lib/DebbugsTest.pm @@ -85,6 +85,7 @@ END "$config_dir/indices/sources" => < '', ); while (my ($file,$contents) = each %files_to_create) { system('mkdir','-p',dirname($file)); @@ -181,6 +182,8 @@ sub send_message{ return 0 if not defined $pid; if ($pid) { $child_pid = $pid; + # Wait here for a second to let the child start up + sleep 1; return $pid; } else { -- 2.39.2