After the test-script fork()s, the client half now sleeps for two
[simpleserver-moved-to-github.git] / test.pl
diff --git a/test.pl b/test.pl
index 7c28f91..b5561d9 100644 (file)
--- a/test.pl
+++ b/test.pl
@@ -98,7 +98,7 @@ if (!defined($pid = fork() )) {
 
        $handler->launch_server("test.pl", "-1", @ARGV);
 } else {                                               ## Child starts the client
-       sleep(1);
+       sleep(2);
        open(CLIENT, "| yaz-client tcp:localhost:9999 > /dev/null")
                or die "Couldn't fork client: $!\n";
        print CLIENT "f test\n";