mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-04 20:57:36 +03:00
stop using net.Error.Temporary in tests
This commit is contained in:
parent
0c6b3dfa93
commit
4f85f45f0a
5 changed files with 0 additions and 7 deletions
|
@ -73,7 +73,6 @@ var _ = Describe("QUIC Errors", func() {
|
|||
nerr, ok := err.(net.Error)
|
||||
Expect(ok).To(BeTrue())
|
||||
Expect(nerr.Timeout()).To(BeTrue())
|
||||
Expect(nerr.Temporary()).To(BeFalse())
|
||||
Expect(err.Error()).To(Equal("timeout: handshake did not complete in time"))
|
||||
})
|
||||
|
||||
|
@ -84,7 +83,6 @@ var _ = Describe("QUIC Errors", func() {
|
|||
nerr, ok := err.(net.Error)
|
||||
Expect(ok).To(BeTrue())
|
||||
Expect(nerr.Timeout()).To(BeTrue())
|
||||
Expect(nerr.Temporary()).To(BeFalse())
|
||||
Expect(err.Error()).To(Equal("timeout: no recent network activity"))
|
||||
})
|
||||
})
|
||||
|
@ -112,7 +110,6 @@ var _ = Describe("QUIC Errors", func() {
|
|||
nerr, ok := err.(net.Error)
|
||||
Expect(ok).To(BeTrue())
|
||||
Expect(nerr.Timeout()).To(BeFalse())
|
||||
Expect(nerr.Temporary()).To(BeTrue())
|
||||
})
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue