From 74195bc17b663cce0d821f771bd4d3973b6cfeeb Mon Sep 17 00:00:00 2001 From: Weihang Lo Date: Wed, 24 Jul 2019 01:30:16 +0800 Subject: [PATCH] test(end_to_end): ignore unimplemented h2 benchmarks Signed-off-by: Weihang Lo --- benches/end_to_end.rs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/benches/end_to_end.rs b/benches/end_to_end.rs index 59679e3d..d16a9563 100644 --- a/benches/end_to_end.rs +++ b/benches/end_to_end.rs @@ -64,14 +64,18 @@ fn http1_parallel_x10_req_10mb(b: &mut test::Bencher) { } #[bench] +#[ignore] fn http2_get(b: &mut test::Bencher) { + // FIXME: re-implement tests when `h2` upgrades to `async/await` opts() .http2() .bench(b) } #[bench] +#[ignore] fn http2_post(b: &mut test::Bencher) { + // FIXME: re-implement tests when `h2` upgrades to `async/await` opts() .http2() .method(Method::POST) @@ -80,7 +84,9 @@ fn http2_post(b: &mut test::Bencher) { } #[bench] +#[ignore] fn http2_req_100kb(b: &mut test::Bencher) { + // FIXME: re-implement tests when `h2` upgrades to `async/await` let body = &[b'x'; 1024 * 100]; opts() .http2() @@ -90,7 +96,9 @@ fn http2_req_100kb(b: &mut test::Bencher) { } #[bench] +#[ignore] fn http2_parallel_x10_empty(b: &mut test::Bencher) { + // FIXME: re-implement tests when `h2` upgrades to `async/await` opts() .http2() .parallel(10) @@ -98,7 +106,9 @@ fn http2_parallel_x10_empty(b: &mut test::Bencher) { } #[bench] +#[ignore] 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]; opts() .http2()