From c3a7b42b1e4031e045a1d277cc40781fe3c6db92 Mon Sep 17 00:00:00 2001 From: harkl <89045610+h4rkl@users.noreply.github.com> Date: Tue, 17 Aug 2021 11:02:06 +1200 Subject: [PATCH] docs: Clarify that solana-test-validator should be closed for anchor test (#616) --- docs/src/cli/commands.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/src/cli/commands.md b/docs/src/cli/commands.md index c426bec88..40f8400b7 100644 --- a/docs/src/cli/commands.md +++ b/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/
..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/
..log` ::: tip Note The Anchor workflow [recommends](https://www.parity.io/paritys-checklist-for-secure-smart-contract-development/)