From 7c10ae20efae43c0f8d4d9730110e9805915a350 Mon Sep 17 00:00:00 2001 From: JamesWrigley Date: Tue, 9 Jul 2024 16:09:11 +0200 Subject: [PATCH] fixup! Add support for Message(::Memory) on Julia 1.11 --- test/runtests.jl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/runtests.jl b/test/runtests.jl index 3f77731..d20c6c9 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -144,9 +144,13 @@ end ZMQ.bind(s1, "tcp://*:5555") ZMQ.connect(s2, "tcp://localhost:5555") + # Sleep for a bit to prevent the 'slow joiner' problem + sleep(0.5) + # Message(::Int) - construct from buffer size data = rand(UInt8, 10) m1 = Message(length(data)) + # Note that we don't use copy!() for compatibility with Julia 1.3 for i in eachindex(data) m1[i] = data[i] end