You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 18, 2021. It is now read-only.
I have a linux system where the "handoff an item immediately after disconnecting" test
fails for some reason. I presume, that's because it is a bit slower, as the same test passes on my FreeBSD laptop, or maybe I'm stepping on some concurrency issue.
I used the following change to make the spec retry the test several times. It solves the issue for me.
diff --git a/src/test/scala/net/lag/kestrel/ServerSpec.scala b/src/test/scala/net/lag/kestrel/ServerSpec.scala
index f794411..2ad82d8 100644
--- a/src/test/scala/net/lag/kestrel/ServerSpec.scala
+++ b/src/test/scala/net/lag/kestrel/ServerSpec.scala
@@ -290,7 +290,7 @@ class ServerSpec extends Specification with TempFolder with TestLogging {
Thread.sleep(10)
val getClient2 = new TestClient("localhost", PORT)
- getClient2.get("slow/open") mustEqual "item"
+ getClient2.get("slow/open") must eventually(be_==("item"))
}
}
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi!
I have a linux system where the "handoff an item immediately after disconnecting" test
fails for some reason. I presume, that's because it is a bit slower, as the same test passes on my FreeBSD laptop, or maybe I'm stepping on some concurrency issue.
I used the following change to make the spec retry the test several times. It solves the issue for me.
The text was updated successfully, but these errors were encountered: