forked from quic-go/quic-go
fix flaky server test (#4167)
This commit is contained in:
@@ -530,7 +530,7 @@ var _ = Describe("Server", func() {
|
||||
Eventually(run).Should(BeClosed())
|
||||
Eventually(done).Should(BeClosed())
|
||||
// shutdown
|
||||
conn.EXPECT().destroy(gomock.Any())
|
||||
conn.EXPECT().destroy(gomock.Any()).MaxTimes(1)
|
||||
})
|
||||
|
||||
It("drops packets if the receive queue is full", func() {
|
||||
|
||||
Reference in New Issue
Block a user