Merge pull request #2106 from lucas-clemente/fix-flaky-session-test

fix flaky session test
This commit is contained in:
Marten Seemann
2019-09-04 04:28:05 +07:00
committed by GitHub

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()