Skip to content

Commit 8f17e92

Browse files
test: try to stabilize CI
1 parent 18dffe8 commit 8f17e92

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: tests/timeout.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ wasm_bindgen_test::wasm_bindgen_test_configure!(run_in_browser);
1010
#[cfg_attr(target_arch = "wasm32", wasm_bindgen_test::wasm_bindgen_test)]
1111
fn timeout_future_many() {
1212
task::block_on(async {
13-
let futures = (0..100)
13+
let futures = (0..10)
1414
.map(|i| {
15-
timeout(Duration::from_millis(i * 20), async move {
15+
timeout(Duration::from_millis(i * 50), async move {
1616
task::sleep(Duration::from_millis(i)).await;
1717
Ok::<(), async_std::future::TimeoutError>(())
1818
})

0 commit comments

Comments
 (0)