Skip to content

Commit 7eea38d

Browse files
committed
Review fixes
1 parent 05f7873 commit 7eea38d

File tree

7 files changed

+40
-14
lines changed

7 files changed

+40
-14
lines changed

.github/workflows/tests.yaml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ jobs:
470470
p2p-scenario-tests:
471471
needs: [build-tests, build-tests-webrtc]
472472
runs-on: ubuntu-24.04
473-
timeout-minutes: 20
473+
timeout-minutes: 30
474474
container:
475475
image: gcr.io/o1labs-192920/mina-daemon:3.3.0-alpha1-6929a7e-noble-devnet
476476
options: --volume debugger_data:/tmp/db
@@ -537,7 +537,7 @@ jobs:
537537
if: ${{ always() }}
538538

539539
scenario-tests:
540-
timeout-minutes: 180
540+
timeout-minutes: 60
541541
needs:
542542
- build-tests
543543
- build-tests-webrtc
@@ -626,7 +626,7 @@ jobs:
626626
if: ${{ always() }}
627627

628628
record-replay-tests:
629-
timeout-minutes: 180
629+
timeout-minutes: 70
630630
needs:
631631
- build-tests
632632
- build-tests-webrtc
@@ -639,10 +639,8 @@ jobs:
639639
strategy:
640640
matrix:
641641
test:
642-
[
643-
record_replay_record_replay_block_production,
644-
record_replay_record_replay_bootstrap,
645-
]
642+
- record_replay_record_replay_block_production
643+
- record_replay_record_replay_bootstrap
646644
fail-fast: false
647645

648646
steps:
@@ -668,7 +666,7 @@ jobs:
668666
./${{ matrix.test }} --test-threads=1
669667
670668
bootstrap-test:
671-
timeout-minutes: 10
669+
timeout-minutes: 20
672670
needs: [build, build-tests]
673671
runs-on: ubuntu-24.04
674672
env:

node/testing/src/scenarios/solo_node/bootstrap.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ impl SoloNodeBootstrap {
4141
std::env::set_var("MINA_DISCOVERY_FILTER_ADDR", "true");
4242
use self::TransitionFrontierSyncState::*;
4343

44-
const TIMEOUT: Duration = Duration::from_secs(60 * 40);
44+
const TIMEOUT: Duration = Duration::from_secs(60 * 60);
4545

4646
let replayer = hosts::replayer();
4747

node/testing/tests/record_replay_record_replay_block_production.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@ use mina_node_testing::scenarios::record_replay::block_production::RecordReplayB
22

33
mod common;
44

5+
// To run locally:
6+
// ```bash
7+
// export MINA_DISCOVERY_FILTER_ADDR=false
8+
// export KEEP_CONNECTION_WITH_UNKNOWN_STREAM=true
9+
// export REPLAYER_MULTIADDR=/dns4/mina-rust-ci-1-libp2p.gcp.o1test.net/tcp/8302/p2p/12D3KooWQi9rSWT2kmEavbEc5eP13nG1FRStMiERKZB3wPJSkNrE
10+
// export BPF_ALIAS=/coda/0.0.1/29936104443aaf264a7f0192ac64b1c7173198c1ed404c1bcff5e562e05eb7f6-0.0.0.0
11+
// cargo test -r --package mina-node-testing --test record_replay_record_replay_block_production -- record_replay_block_production --exact --nocapture
12+
// ```
513
scenario_test!(
614
record_replay_block_production,
715
RecordReplayBlockProduction,

node/testing/tests/record_replay_record_replay_bootstrap.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@ use mina_node_testing::scenarios::record_replay::bootstrap::RecordReplayBootstra
22

33
mod common;
44

5+
// To run locally:
6+
// ```bash
7+
// export MINA_DISCOVERY_FILTER_ADDR=false
8+
// export KEEP_CONNECTION_WITH_UNKNOWN_STREAM=true
9+
// export REPLAYER_MULTIADDR=/dns4/mina-rust-ci-1-libp2p.gcp.o1test.net/tcp/8302/p2p/12D3KooWQi9rSWT2kmEavbEc5eP13nG1FRStMiERKZB3wPJSkNrE
10+
// export BPF_ALIAS=/coda/0.0.1/29936104443aaf264a7f0192ac64b1c7173198c1ed404c1bcff5e562e05eb7f6-0.0.0.0
11+
// cargo test -r --package mina-node-testing --test record_replay_record_replay_bootstrap -- record_replay_bootstrap --exact --nocapture
12+
// ```
513
scenario_test!(
614
record_replay_bootstrap,
715
RecordReplayBootstrap,

node/testing/tests/single_node_accept_incoming.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ use mina_node_testing::scenarios::solo_node::basic_connectivity_accept_incoming:
44

55
mod common;
66

7+
// To run locally:
8+
// ```bash
9+
// export MINA_DISCOVERY_FILTER_ADDR=false
10+
// export KEEP_CONNECTION_WITH_UNKNOWN_STREAM=true
11+
// export REPLAYER_MULTIADDR=/dns4/mina-rust-ci-1-libp2p.gcp.o1test.net/tcp/8302/p2p/12D3KooWQi9rSWT2kmEavbEc5eP13nG1FRStMiERKZB3wPJSkNrE
12+
// export BPF_ALIAS=/coda/0.0.1/29936104443aaf264a7f0192ac64b1c7173198c1ed404c1bcff5e562e05eb7f6-0.0.0.0
13+
// cargo test -r --package mina-node-testing --test single_node_accept_incoming -- accept_incoming --exact --nocapture
14+
// ```
715
scenario_test!(
816
accept_incoming,
917
SoloNodeBasicConnectivityAcceptIncoming,

node/testing/tests/single_node_bootstrap_from_replayer.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,7 @@ mod common;
88
// export KEEP_CONNECTION_WITH_UNKNOWN_STREAM=true
99
// export REPLAYER_MULTIADDR=/dns4/mina-rust-ci-1-libp2p.gcp.o1test.net/tcp/8302/p2p/12D3KooWQi9rSWT2kmEavbEc5eP13nG1FRStMiERKZB3wPJSkNrE
1010
// export BPF_ALIAS=/coda/0.0.1/29936104443aaf264a7f0192ac64b1c7173198c1ed404c1bcff5e562e05eb7f6-0.0.0.0
11-
// cargo test --release \
12-
// --package=mina-node-testing
13-
// --package=cli -- \
14-
// --exact bootstrap_from_replayer
15-
// --nocapture
11+
// cargo test -r --package mina-node-testing --test single_node_bootstrap_from_replayer -- bootstrap_from_replayer --exact --nocapture
1612
// ```
1713
scenario_test!(
1814
bootstrap_from_replayer,

node/testing/tests/single_node_initial_joining.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@ use mina_node_testing::scenarios::solo_node::basic_connectivity_initial_joining:
22

33
mod common;
44

5+
// To run locally:
6+
// ```bash
7+
// export MINA_DISCOVERY_FILTER_ADDR=false
8+
// export KEEP_CONNECTION_WITH_UNKNOWN_STREAM=true
9+
// export REPLAYER_MULTIADDR=/dns4/mina-rust-ci-1-libp2p.gcp.o1test.net/tcp/8302/p2p/12D3KooWQi9rSWT2kmEavbEc5eP13nG1FRStMiERKZB3wPJSkNrE
10+
// export BPF_ALIAS=/coda/0.0.1/29936104443aaf264a7f0192ac64b1c7173198c1ed404c1bcff5e562e05eb7f6-0.0.0.0
11+
// cargo test -r --package mina-node-testing --test single_node_initial_joining -- initial_joining --exact --nocapture
12+
// ```
513
scenario_test!(
614
initial_joining,
715
SoloNodeBasicConnectivityInitialJoining,

0 commit comments

Comments
 (0)