mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-12-24 23:19:34 -05:00
Increase Rust minimum stack size in CI
This commit is contained in:
parent
5250e16b64
commit
e5ddec76f7
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -76,4 +76,6 @@ jobs:
|
|||||||
- name: Cargo test
|
- name: Cargo test
|
||||||
run: cargo test --workspace --all-features
|
run: cargo test --workspace --all-features
|
||||||
env:
|
env:
|
||||||
|
# To avoid stack overflows
|
||||||
|
RUST_MIN_STACK: 100000000
|
||||||
MONERO_ADDITIONAL_SLEEP_PERIOD: 60000
|
MONERO_ADDITIONAL_SLEEP_PERIOD: 60000
|
||||||
|
@ -142,6 +142,11 @@ pub async fn init_test<'a>(
|
|||||||
}
|
}
|
||||||
|
|
||||||
mod tests {
|
mod tests {
|
||||||
|
// NOTE: For some reason running these tests overflows the stack. In order to
|
||||||
|
// mitigate this run them with:
|
||||||
|
//
|
||||||
|
// RUST_MIN_STACK=100000000 cargo test
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
harness,
|
harness,
|
||||||
harness::node::{run_alice_until, run_bob_until},
|
harness::node::{run_alice_until, run_bob_until},
|
||||||
|
Loading…
Reference in New Issue
Block a user