Commit 5c62f79
committed
Merge #1394
1394: Update tests to use hyper 0.12 r=jtgeibel
This PR updates the HTTP recording test infrastructure to use hyper 0.12. The goal is to update hyper in the tests now to minimize any version changes when eventually moving production over to hyper (see companion PR #1378). While we don't *have* to use the same version of hyper in production and our tests, having different versions would regress compile times.
Ignoring the crate additions/removals (as production code obviously don't depend on them), the only overlap I see with production is updating `libc` from 0.2.33 to 0.2.42. As far as I can tell, the following changes do not affect production, even transitively (and if they do, are minimal):
* `net2` - 0.2.31 to 0.2.32
* `bytes` - 0.4.5 to 0.4.8
* `futures` - 0.1.17 to 0.1.21
* `tokio-core` - 0.1.12 to 0.1.17
* `tokio-io` - 0.1.3 to 0.1.6
It was necessary to lowercase the request header names in the recordings under `http-data` because the hyper client sending the request no longer uses title-case.File tree
34 files changed
+451
-268
lines changed- src/tests
- http-data
34 files changed
+451
-268
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
75 | | - | |
| 74 | + | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
0 commit comments