commit: | 0eb3b4bb73ffb85212ca0adc9a97f1f3492ab7e2 |
author: | Trevor Bentley |
committer: | Trevor Bentley |
date: | Thu Aug 3 08:57:37 2017 +0200 |
parents: | eef451d6f8e6a0d2473642a50156276ef0a81171 |
diff --git a/src/webapi/test.rs b/src/webapi/test.rs line changes: +3/-0 index fa546a5..ec8fc57 --- a/src/webapi/test.rs +++ b/src/webapi/test.rs
@@ -121,6 +121,9 @@ mod tests { server.run().unwrap(); WEBSERVER_STARTED.store(true, Ordering::Relaxed); }); + // Give it some time to really come up. It would be nicer to + // actually try to connect to it. + sleep(Duration::from_millis(500)); }); }