Increase Rust minimum stack size in CI

This commit is contained in:
Lucas Soriano del Pino 2020-10-21 15:55:20 +11:00
parent 04e1dca16a
commit 8b48191e1c
2 changed files with 6 additions and 0 deletions

View File

@ -76,4 +76,5 @@ jobs:
- name: Cargo test
run: cargo test --workspace --all-features
env:
RUST_MIN_STACK: 10000000
MONERO_ADDITIONAL_SLEEP_PERIOD: 60000

View File

@ -142,6 +142,11 @@ pub async fn init_test(
}
mod tests {
// NOTE: For some reason running these tests overflows the stack. In order to
// mitigate this run them with:
//
// RUST_MIN_STACK=10000000 cargo test
use crate::{
harness,
harness::node::{run_alice_until, run_bob_until},