Skip to content

Commit 89a9062

Browse files
committed
hf test go: bump down a bunch of parameters to make test run faster &
lighter
1 parent 863bb7d commit 89a9062

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

scripts/hardfork/build-and-test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,8 @@ nix "${NIX_OPTS[@]}" build "$PWD?submodules=1#hardfork_test" --out-link "hardfor
158158
159159
# 5. Execute hardfork_test on them.
160160
161-
SLOT_TX_END=${SLOT_TX_END:-$((40))}
162-
SLOT_CHAIN_END=${SLOT_CHAIN_END:-$((SLOT_TX_END+5))}
161+
SLOT_TX_END=33
162+
SLOT_CHAIN_END=$((SLOT_TX_END+4))
163163
164164
NETWORK_ROOT=$(mktemp -d --tmpdir hardfork-network.XXXXXXX)
165165

src/app/hardfork_test/src/internal/config/config.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,12 @@ func DefaultConfig() *Config {
7474
BestChainQueryFrom: 25,
7575
MainSlot: 30,
7676
ForkSlot: 30,
77-
MainDelay: 8,
78-
ForkDelay: 8,
77+
MainDelay: 7,
78+
ForkDelay: 7,
7979
NumWhales: 2,
8080
NumFish: 1,
81-
NumNodes: 1,
82-
PaymentInterval: 10,
81+
NumNodes: 0,
82+
PaymentInterval: 20,
8383
ShutdownTimeoutMinutes: 10,
8484
PollingIntervalSeconds: 5,
8585
ForkConfigRetryDelaySeconds: 60,

0 commit comments

Comments
 (0)