fix flaky client test

fixes #443
This commit is contained in:
Marten Seemann
2017-02-24 14:27:29 +07:00
parent eb7a7f79f7
commit 811bd20939

View File

@@ -103,7 +103,7 @@ var _ = Describe("Client", func() {
Consistently(func() bool { return returned }).Should(BeFalse())
// switch to a forward-secure connection
client.cryptoChangeCallback(nil, true)
Eventually(func() bool { return returned }).Should(BeFalse())
Eventually(func() bool { return returned }).Should(BeTrue())
})
})