Skip to content

Commit 2762cd0

Browse files
committed
Merge branch 'mraszyk/sns-testing-instructions' into 'master'
add instructions on sns-testing with dynamic testnets See merge request dfinity-lab/public/ic!12579
2 parents 2fbdf5d + 4bc9ccb commit 2762cd0

File tree

1 file changed

+27
-2
lines changed

1 file changed

+27
-2
lines changed

rs/tests/testing_verification/testnets/sns_testing.rs

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// All nodes use the following resources: 4 vCPUs, 24GiB of RAM and 50 GiB disk.
44
//
55
// In addition to these subnets, this testnet additionally installs the NNS canisters,
6-
// the NNS and II frontend canisters (on the NNS subnet),
6+
// the II and NNS frontend dapp canisters (on the NNS subnet),
77
// and SNS aggregator canister (on the SNS subnet).
88
//
99
// You can setup this testnet by executing the following commands:
@@ -34,13 +34,38 @@
3434
// Apr 11 15:33:58.903 INFO[rs/tests/src/driver/prometheus_vm.rs:170:0]
3535
// IC Progress Clock at http://grafana.sns_testing--1681227226065.testnet.farm.dfinity.systems/d/ic-progress-clock/ic-progress-clock?refresh=10s&from=now-5m&to=now
3636
//
37-
// To access the NNS or II dapps look for the following log lines:
37+
// To access the II and NNS frontend dapp canisters look for the following log lines:
3838
//
3939
// 2023-05-03 11:06:27.948 INFO[setup:rs/tests/src/nns_dapp.rs:99:0]
4040
// Internet Identity: https://qhbym-qaaaa-aaaaa-aaafq-cai.ic0.farm.dfinity.systems
4141
// 2023-05-03 11:06:27.948 INFO[setup:rs/tests/src/nns_dapp.rs:103:0]
4242
// NNS frontend dapp: https://qsgjb-riaaa-aaaaa-aaaga-cai.ic0.farm.dfinity.systems
4343
//
44+
// To interactively deploy an SNS and perform testing, we recommend to take the following steps:
45+
//
46+
// 1. Clone the sns-testing repo at https://github.com/dfinity/sns-testing
47+
//
48+
// 2. Setup this testnet by using `ict` (explained above).
49+
//
50+
// Make sure to await until you see the following lines before proceeding with the next steps.
51+
//
52+
// ============================= Summary =============================
53+
// Task setup PASSED -- Exited with code 0.
54+
// Task debugKeepAliveTask PASSED
55+
// ===================================================================
56+
//
57+
// 3. Set the testnet's hostname as `TESTNET` in the file `settings.sh` in the sns-testing repo.
58+
// You can determine the hostname from the II and NNS frontend dapp URLs available
59+
// in the logs printed by `ict` into your console. For the above example, you'd set
60+
//
61+
// export TESTNET="ic0.farm.dfinity.systems"
62+
//
63+
// on the last line in the file `settings.sh` in the sns-testing repo.
64+
//
65+
// 4. Execute scripts from the sns-testing repo, e.g., `run_basic_scenario.sh`.
66+
//
67+
// Note. DO NOT run either `setup_locally.sh` or `setup.sh` when testing with this testnet!
68+
//
4469
// Happy testing!
4570

4671
use anyhow::Result;

0 commit comments

Comments
 (0)