Fix TCP test compilation.

This commit is contained in:
Sönke Ludwig 2016-10-19 22:01:11 +02:00
parent 32f4170b8b
commit b4157e2ff6

View file

@ -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);