trying to learn anchor dev, following soldev.app. I have a problem, when I run anchor test, this is the error I get:
Unable to get the latest blockhash. The test validator does not look started. Check .anchor/test-ledger/test-ledger-log.txt for errors. Consider increasing [test.startup_wait] in Anchor.toml.
Ledger location: .anchor/test-ledger Log: .anchor/test-ledger/validator.log Initializing... Error: failed to start validator: Failed to create ledger at .anchor/test-ledger: blockstore error
When I try to run
solana-test-validator it works. In the anchor.toml file cluster is set to localnet.