mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-12-24 23:19:34 -05:00
Run tests on one thread, increase T1
This commit is contained in:
parent
1597f5336b
commit
0b69573129
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -103,7 +103,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Cargo test
|
- name: Cargo test
|
||||||
if: (!matrix.skip_tests)
|
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:
|
env:
|
||||||
MONERO_ADDITIONAL_SLEEP_PERIOD: 60000
|
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.
|
RUST_MIN_STACK: 16777216 # 16 MB. Default is 8MB. This is fine as in tests we start 2 programs: Alice and Bob.
|
||||||
|
@ -104,7 +104,7 @@ mod regtest {
|
|||||||
|
|
||||||
pub static MONERO_FINALITY_CONFIRMATIONS: u32 = 1;
|
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);
|
pub static BITCOIN_PUNISH_TIMELOCK: Timelock = Timelock::new(50);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user