good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit 0fc99b7c authored by battlmonstr's avatar battlmonstr Committed by GitHub
Browse files

rpcdaemon: optimize tests (#4082)

* reuse the generated test blockchain across tests
* copy ChainPack to ensure test isolation

This improves the speed from 10s to 4s.

The package tests timeout can be reduced to 5s:

    go test ./cmd/rpcdaemon/commands -count 1 --timeout 5s
parent bc43a3f3
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment