fix flaky session test

This commit is contained in:
Marten Seemann
2019-09-01 14:19:45 +07:00
parent d689f9a392
commit 00be928873

View File

@@ -837,7 +837,7 @@ var _ = Describe("Session", func() {
Context("sending packets", func() {
BeforeEach(func() {
cryptoSetup.EXPECT().RunHandshake()
cryptoSetup.EXPECT().RunHandshake().MaxTimes(1)
go func() {
defer GinkgoRecover()
sess.run()