Run tests on one thread, increase T1

This commit is contained in:
rishflab 2021-01-25 12:54:33 +11:00 committed by Franck Royer
parent 1597f5336b
commit 0b69573129
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
2 changed files with 2 additions and 2 deletions

View File

@ -103,7 +103,7 @@ jobs:
- name: Cargo test
if: (!matrix.skip_tests)
run: cargo +nightly test --workspace --all-features -- -Z unstable-options --report-time
run: cargo +nightly test --workspace --all -- --test-threads=1 -Z unstable-options --report-time
env:
MONERO_ADDITIONAL_SLEEP_PERIOD: 60000
RUST_MIN_STACK: 16777216 # 16 MB. Default is 8MB. This is fine as in tests we start 2 programs: Alice and Bob.

View File

@ -104,7 +104,7 @@ mod regtest {
pub static MONERO_FINALITY_CONFIRMATIONS: u32 = 1;
pub static BITCOIN_CANCEL_TIMELOCK: Timelock = Timelock::new(50);
pub static BITCOIN_CANCEL_TIMELOCK: Timelock = Timelock::new(100);
pub static BITCOIN_PUNISH_TIMELOCK: Timelock = Timelock::new(50);
}