diff options
author | rbb <rbb@13f79535-47bb-0310-9956-ffa450edef68> | 2000-12-03 01:52:34 +0000 |
---|---|---|
committer | rbb <rbb@13f79535-47bb-0310-9956-ffa450edef68> | 2000-12-03 01:52:34 +0000 |
commit | b4c292817ec2c8976a1693b022eeadde84586573 (patch) | |
tree | 1a5ae106f9e47a36bab68e7affd9adbc33db0599 /test/testsock.c | |
parent | 8e6ceb4e322ed48ce16e1028139de781033a4a3d (diff) | |
download | libapr-b4c292817ec2c8976a1693b022eeadde84586573.tar.gz |
Ensure that the server process has started before we try to run the client.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60852 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/testsock.c')
-rw-r--r-- | test/testsock.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/testsock.c b/test/testsock.c index 34c06df9d..d0d62dd6d 100644 --- a/test/testsock.c +++ b/test/testsock.c @@ -108,6 +108,8 @@ int main(int argc, char *argv[]) args[1] = NULL; s1 = apr_create_process(&proc1, "./server", args, NULL, attr1, context); + /* Sleep for 30 seconds to ensure the server is setup before we begin */ + apr_sleep(10000000); args[0] = apr_pstrdup(context, "client"); s2 = apr_create_process(&proc2, "./client", args, NULL, attr2, context); |