From 8b48191e1cb70c168a0ed0f7b67372727d142b9b Mon Sep 17 00:00:00 2001 From: Lucas Soriano del Pino Date: Wed, 21 Oct 2020 15:55:20 +1100 Subject: [PATCH] Increase Rust minimum stack size in CI --- .github/workflows/ci.yml | 1 + xmr-btc/tests/e2e.rs | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 531def83..c92878bc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -76,4 +76,5 @@ jobs: - name: Cargo test run: cargo test --workspace --all-features env: + RUST_MIN_STACK: 10000000 MONERO_ADDITIONAL_SLEEP_PERIOD: 60000 diff --git a/xmr-btc/tests/e2e.rs b/xmr-btc/tests/e2e.rs index 2eb3cf70..2b3bc461 100644 --- a/xmr-btc/tests/e2e.rs +++ b/xmr-btc/tests/e2e.rs @@ -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},