summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNicolas Noble <nnoble@blizzard.com>2014-08-08 13:34:23 -0700
committerNicolas Noble <nnoble@blizzard.com>2014-08-08 13:34:23 -0700
commitdaf6897fe24e62ae8cf8e42b151ed565563332fe (patch)
treed4f313b369e5b3b873f51c51525ed9816053aaea /tests
parentf67877e10216326b2230cd827d15aab0802d826d (diff)
Finalizing cares integration.
Diffstat (limited to 'tests')
-rw-r--r--tests/test-Http.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test-Http.cc b/tests/test-Http.cc
index 1ea040b..0dfcc74 100644
--- a/tests/test-Http.cc
+++ b/tests/test-Http.cc
@@ -137,7 +137,8 @@ void MainTask::Do() {
s->setLocal("localhost");
s->start();
- sleep(1);
+ while (!s->started())
+ sleep(0.1);
Events::TaskEvent stopperEvent;
Task * stopper = TaskMan::registerTask(new Stopper, &stopperEvent);