mirror of
https://github.com/tendermint/tendermint.git
synced 2026-07-30 12:02:53 +00:00
Error #1: ``` Error response from daemon: network with name local_testnet already exists ``` Fixed by stopping and removing local_testnet containers and removing the network Error #2: ``` docker: Error response from daemon: Conflict. The name "/test_container_basic" is already in use by container a7cd15d479a964675e7f259de4ed852e7dfef85b447514728f437cd0b980a709. You have to remove (or rename) that container to beable to reuse that name.. ``` Fixed by adding `--rm` flag.
Tendermint Tests
The unit tests (ie. the go test s) can be run with make test.
The integration tests can be run wtih make test_integrations.
Running the integrations test will build a docker container with latest tendermint and run the following tests in docker containers:
- go tests, with --race
- app tests
- dummy app over socket
- counter app over socket
- counter app over grpc
- p2p tests
- start a local dummy app testnet on a docker network (requires docker version 1.10+)
- send a tx on each node and ensure the state root is updated on all of them
If on a release-x.x.x branch, we also run
go testfor all our dependency libs (test/test_libs.sh)- network_testing - benchmark a mintnet based cloud deploy using netmon
Coverage
TODO!