test(end_to_end): ignore unimplemented h2 benchmarks
Signed-off-by: Weihang Lo <me@weihanglo.tw>
This commit is contained in:
committed by
Sean McArthur
parent
4f2abd81e8
commit
74195bc17b
@@ -64,14 +64,18 @@ fn http1_parallel_x10_req_10mb(b: &mut test::Bencher) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[bench]
|
#[bench]
|
||||||
|
#[ignore]
|
||||||
fn http2_get(b: &mut test::Bencher) {
|
fn http2_get(b: &mut test::Bencher) {
|
||||||
|
// FIXME: re-implement tests when `h2` upgrades to `async/await`
|
||||||
opts()
|
opts()
|
||||||
.http2()
|
.http2()
|
||||||
.bench(b)
|
.bench(b)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[bench]
|
#[bench]
|
||||||
|
#[ignore]
|
||||||
fn http2_post(b: &mut test::Bencher) {
|
fn http2_post(b: &mut test::Bencher) {
|
||||||
|
// FIXME: re-implement tests when `h2` upgrades to `async/await`
|
||||||
opts()
|
opts()
|
||||||
.http2()
|
.http2()
|
||||||
.method(Method::POST)
|
.method(Method::POST)
|
||||||
@@ -80,7 +84,9 @@ fn http2_post(b: &mut test::Bencher) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[bench]
|
#[bench]
|
||||||
|
#[ignore]
|
||||||
fn http2_req_100kb(b: &mut test::Bencher) {
|
fn http2_req_100kb(b: &mut test::Bencher) {
|
||||||
|
// FIXME: re-implement tests when `h2` upgrades to `async/await`
|
||||||
let body = &[b'x'; 1024 * 100];
|
let body = &[b'x'; 1024 * 100];
|
||||||
opts()
|
opts()
|
||||||
.http2()
|
.http2()
|
||||||
@@ -90,7 +96,9 @@ fn http2_req_100kb(b: &mut test::Bencher) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[bench]
|
#[bench]
|
||||||
|
#[ignore]
|
||||||
fn http2_parallel_x10_empty(b: &mut test::Bencher) {
|
fn http2_parallel_x10_empty(b: &mut test::Bencher) {
|
||||||
|
// FIXME: re-implement tests when `h2` upgrades to `async/await`
|
||||||
opts()
|
opts()
|
||||||
.http2()
|
.http2()
|
||||||
.parallel(10)
|
.parallel(10)
|
||||||
@@ -98,7 +106,9 @@ fn http2_parallel_x10_empty(b: &mut test::Bencher) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[bench]
|
#[bench]
|
||||||
|
#[ignore]
|
||||||
fn http2_parallel_x10_req_10mb(b: &mut test::Bencher) {
|
fn http2_parallel_x10_req_10mb(b: &mut test::Bencher) {
|
||||||
|
// FIXME: re-implement tests when `h2` upgrades to `async/await`
|
||||||
let body = &[b'x'; 1024 * 1024 * 10];
|
let body = &[b'x'; 1024 * 1024 * 10];
|
||||||
opts()
|
opts()
|
||||||
.http2()
|
.http2()
|
||||||
|
|||||||
Reference in New Issue
Block a user