forked from quic-go/quic-go
http3: return the context cancellation error from RoundTrip (#4203)
This commit is contained in:
@@ -922,7 +922,7 @@ var _ = Describe("Client", func() {
|
||||
return 0, errors.New("test done")
|
||||
})
|
||||
_, err := cl.RoundTripOpt(req, roundTripOpt)
|
||||
Expect(err).To(MatchError("test done"))
|
||||
Expect(err).To(MatchError(context.Canceled))
|
||||
Eventually(done).Should(BeClosed())
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user