tendermint/test
Anton Kaliaev 76cccfaabd
get_vendor_deps does not require all the tools
- remove revision cmd
- rename ensure_tools to tools
2017-12-04 18:19:11 -06:00
..
app test: fix test/app/counter_test.sh 2017-12-02 23:39:19 -05:00
docker get_vendor_deps does not require all the tools 2017-12-04 18:19:11 -06:00
net postmerge 2017-04-21 18:09:47 -04:00
p2p test/p2p/atomic_broadcast: wait for node heights before checking app hash 2017-11-28 05:51:32 +00:00
persist test: update for abci-cli consolidation. shell formatting 2017-10-27 23:09:50 -04:00
utils postmerge 2017-04-21 18:09:47 -04:00
README.md postmerge 2017-04-21 18:09:47 -04:00
run_test.sh run metalinter in make test and run_test.sh 2017-11-27 22:39:12 +00:00
test.sh [test_integrations] enable logs from peers by default (Refs #829) 2017-11-09 15:19:49 -05:00
test_cover.sh postmerge 2017-04-21 18:09:47 -04:00
test_libs.sh test: test_libs all use Makefile 2017-04-25 18:35:22 -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 local version of tendermint and run the following tests in docker containers:

  • go tests, with --race
    • includes test coverage
  • app tests
    • dummy app over socket
    • counter app over socket
    • counter app over grpc
  • persistence tests
    • crash tendermint at each of many predefined points, restart, and ensure it syncs properly with the app
  • 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
    • crash and restart nodes one at a time and ensure they can sync back up (via fastsync)
    • crash and restart all nodes at once and ensure they can sync back up

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