tendermint/test
Anton Kalyaev 57f3592411 fix 2 errors when running p2p tests more than once
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.
2016-12-21 19:18:18 -05:00
..
app tests: cleanup and fix scripts 2016-12-06 23:00:39 -05:00
docker test: use glide with mintnet/netmon 2016-10-12 12:28:34 -04:00
net test: install glide for network test 2016-10-20 12:30:22 -04:00
p2p fix 2 errors when running p2p tests more than once 2016-12-21 19:18:18 -05:00
persist tests: cleanup and fix scripts 2016-12-06 23:00:39 -05:00
README.md test: README.md 2016-08-06 23:31:06 -04:00
run_test.sh rebase fixes and BeginBlock(hash,header) 2016-11-16 13:25:13 -05:00
test.sh test: install glide for network test 2016-10-20 12:30:22 -04:00
test_cover.sh test: circle artifacts 2016-12-19 15:42:39 -05:00
test_libs.sh test: use glide with mintnet/netmon 2016-10-12 12:28:34 -04:00

README.md

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 test for all our dependency libs (test/test_libs.sh)
  • network_testing - benchmark a mintnet based cloud deploy using netmon

Coverage

TODO!