diff --git a/tests/vibe.core.net.1429/dub.sdl b/tests/vibe.core.net.1429/dub.sdl index 5df5ea8..7fef4bd 100644 --- a/tests/vibe.core.net.1429/dub.sdl +++ b/tests/vibe.core.net.1429/dub.sdl @@ -1,4 +1,3 @@ name "tests" description "TCP disconnect task issue" -dependency "vibe-d:core" path="../../" -versions "VibeDefaultMain" +dependency "vibe-core" path="../../" diff --git a/tests/vibe.core.net.1429/source/app.d b/tests/vibe.core.net.1429/source/app.d index 352e62c..53c9485 100644 --- a/tests/vibe.core.net.1429/source/app.d +++ b/tests/vibe.core.net.1429/source/app.d @@ -4,7 +4,7 @@ import vibe.core.net; import core.time : msecs; import std.datetime : Clock, UTC; -shared static this() +void main() { auto udp = listenUDP(11429, "127.0.0.1"); @@ -26,4 +26,6 @@ shared static this() exitEventLoop(); } }); + + runEventLoop(); } diff --git a/tests/vibe.core.net.1441/dub.sdl b/tests/vibe.core.net.1441/dub.sdl index 5df5ea8..7fef4bd 100644 --- a/tests/vibe.core.net.1441/dub.sdl +++ b/tests/vibe.core.net.1441/dub.sdl @@ -1,4 +1,3 @@ name "tests" description "TCP disconnect task issue" -dependency "vibe-d:core" path="../../" -versions "VibeDefaultMain" +dependency "vibe-core" path="../../" diff --git a/tests/vibe.core.net.1441/source/app.d b/tests/vibe.core.net.1441/source/app.d index d3ddc06..86f2b29 100644 --- a/tests/vibe.core.net.1441/source/app.d +++ b/tests/vibe.core.net.1441/source/app.d @@ -2,7 +2,7 @@ import vibe.core.core; import vibe.core.net; import core.time : msecs; -shared static this() +void main() { import vibe.core.log; bool done = false; @@ -21,4 +21,6 @@ shared static this() exitEventLoop(); }); + + runEventLoop(); } diff --git a/tests/vibe.core.net.1452/dub.sdl b/tests/vibe.core.net.1452/dub.sdl index 28b66b5..c67f01c 100644 --- a/tests/vibe.core.net.1452/dub.sdl +++ b/tests/vibe.core.net.1452/dub.sdl @@ -1,3 +1,3 @@ name "tests" description "Invalid memory operation on TCP connection leakage at shutdown" -dependency "vibe-d:core" path="../../" +dependency "vibe-core" path="../../"