From b4157e2ff61722c604fcf7393765dc10fddb470d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6nke=20Ludwig?= Date: Wed, 19 Oct 2016 22:01:11 +0200 Subject: [PATCH] Fix TCP test compilation. --- tests/0-tcp.d | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/0-tcp.d b/tests/0-tcp.d index b343bdb..39211a1 100644 --- a/tests/0-tcp.d +++ b/tests/0-tcp.d @@ -7,6 +7,7 @@ module test; import eventcore.core; import eventcore.socket; import std.socket : InternetAddress; +import core.time : Duration; ubyte[256] s_rbuf; bool s_done; @@ -59,7 +60,7 @@ void main() })(baddr); ExitReason er; - do er = eventDriver.core.processEvents(); + do er = eventDriver.core.processEvents(Duration.max); while (er == ExitReason.idle); //assert(er == ExitReason.outOfWaiters); // FIXME: see above assert(s_done);