Commit 96e405c
http2: modernize TestTransportRoundtripCloseOnWriteError
Rewrite this test to use a testClientConn and fake network,
allowing us to inject its network error into the fake net
rather than by twiddling the client connection internals.
Change-Id: Idcd96498ceaee701ad0c053dc0c6ce74701cc182
Reviewed-on: https://go-review.googlesource.com/c/net/+/701006
Auto-Submit: Damien Neil <[email protected]>
Reviewed-by: Nicholas Husin <[email protected]>
Reviewed-by: Nicholas Husin <[email protected]>
LUCI-TryBot-Result: Go LUCI <[email protected]>1 parent 6dc6880 commit 96e405c
2 files changed
+23
-23
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
197 | 204 | | |
198 | 205 | | |
199 | 206 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4243 | 4243 | | |
4244 | 4244 | | |
4245 | 4245 | | |
4246 | | - | |
4247 | | - | |
4248 | | - | |
4249 | | - | |
4250 | | - | |
| 4246 | + | |
| 4247 | + | |
| 4248 | + | |
| 4249 | + | |
| 4250 | + | |
4251 | 4251 | | |
4252 | | - | |
4253 | | - | |
4254 | | - | |
4255 | | - | |
4256 | | - | |
4257 | | - | |
4258 | | - | |
| 4252 | + | |
| 4253 | + | |
| 4254 | + | |
| 4255 | + | |
4259 | 4256 | | |
4260 | 4257 | | |
4261 | | - | |
4262 | | - | |
4263 | | - | |
| 4258 | + | |
4264 | 4259 | | |
4265 | | - | |
4266 | | - | |
4267 | | - | |
| 4260 | + | |
| 4261 | + | |
| 4262 | + | |
4268 | 4263 | | |
4269 | 4264 | | |
4270 | | - | |
4271 | | - | |
4272 | | - | |
4273 | | - | |
4274 | | - | |
| 4265 | + | |
| 4266 | + | |
| 4267 | + | |
4275 | 4268 | | |
4276 | 4269 | | |
4277 | 4270 | | |
| |||
0 commit comments