Browse Source

docs: Clarify that solana-test-validator should be closed for anchor test (#616)

harkl 4 years ago
parent
commit
c3a7b42b1e
1 changed files with 5 additions and 1 deletions
  1. 5 1
      docs/src/cli/commands.md

+ 5 - 1
docs/src/cli/commands.md

@@ -93,7 +93,11 @@ of all workspace programs before running them.
 If the configured network is a localnet, then automatically starts the localnetwork and runs
 the test.
 
-When running tests we stream program logs to .anchor/program-logs/<address>.<program-name>.log
+::: tip Note
+Be sure to shutdown any other local validators, otherwise `anchor test` will fail to run.
+:::
+
+When running tests we stream program logs to `.anchor/program-logs/<address>.<program-name>.log`
 
 ::: tip Note
 The Anchor workflow [recommends](https://www.parity.io/paritys-checklist-for-secure-smart-contract-development/)