Skip to content

Commit d807d4b

Browse files
committed
document how to run upgrade_archive locally
1 parent bd0445b commit d807d4b

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/test/archive/archive_node_tests/upgrade_archive.ml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,20 @@ open Mina_automation
44
open Mina_automation_fixture.Archive
55
open Common
66

7+
(* NOTE:
8+
To run this test, several preparation is needed
9+
- ensure we have this test, replayer & archive node build with devnet profile
10+
- ensure we have a data base instance up
11+
- Run the following:
12+
```
13+
MINA_TEST_POSTGRES_URI=postgres://postgres:xxxx@localhost:5432 \
14+
MINA_TEST_NETWORK_DATA=./src/test/archive/sample_db \
15+
DUNE_PROFILE=devnet \
16+
dune exec src/test/archive/archive_node_tests/archive_node_tests.exe -- \
17+
test upgrade_archive
18+
```
19+
*)
20+
721
type t = Mina_automation_fixture.Archive.after_bootstrap
822

923
let test_case (test_data : t) =

0 commit comments

Comments
 (0)