Skip to content

Commit 74195bc

Browse files
weihangloseanmonstar
authored andcommitted
test(end_to_end): ignore unimplemented h2 benchmarks
Signed-off-by: Weihang Lo <me@weihanglo.tw>
1 parent 4f2abd8 commit 74195bc

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

benches/end_to_end.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,18 @@ fn http1_parallel_x10_req_10mb(b: &mut test::Bencher) {
6464
}
6565

6666
#[bench]
67+
#[ignore]
6768
fn http2_get(b: &mut test::Bencher) {
69+
// FIXME: re-implement tests when `h2` upgrades to `async/await`
6870
opts()
6971
.http2()
7072
.bench(b)
7173
}
7274

7375
#[bench]
76+
#[ignore]
7477
fn http2_post(b: &mut test::Bencher) {
78+
// FIXME: re-implement tests when `h2` upgrades to `async/await`
7579
opts()
7680
.http2()
7781
.method(Method::POST)
@@ -80,7 +84,9 @@ fn http2_post(b: &mut test::Bencher) {
8084
}
8185

8286
#[bench]
87+
#[ignore]
8388
fn http2_req_100kb(b: &mut test::Bencher) {
89+
// FIXME: re-implement tests when `h2` upgrades to `async/await`
8490
let body = &[b'x'; 1024 * 100];
8591
opts()
8692
.http2()
@@ -90,15 +96,19 @@ fn http2_req_100kb(b: &mut test::Bencher) {
9096
}
9197

9298
#[bench]
99+
#[ignore]
93100
fn http2_parallel_x10_empty(b: &mut test::Bencher) {
101+
// FIXME: re-implement tests when `h2` upgrades to `async/await`
94102
opts()
95103
.http2()
96104
.parallel(10)
97105
.bench(b)
98106
}
99107

100108
#[bench]
109+
#[ignore]
101110
fn http2_parallel_x10_req_10mb(b: &mut test::Bencher) {
111+
// FIXME: re-implement tests when `h2` upgrades to `async/await`
102112
let body = &[b'x'; 1024 * 1024 * 10];
103113
opts()
104114
.http2()

0 commit comments

Comments
 (0)