tendermint/test
Dev Ojha b84f788f36 Switch ports 466xx to 266xx (#1735)
* Switch ports 466xx to be 266xx
This is done so the default ports aren't in the linux kernel's default ephemeral port range.

* Update ABCI import

* Bump cache on circleci

* Get more verbose output for debugging

* Bump abci dependency

* Fix accidental change of a block header's hash

* pin abci release
2018-06-12 13:25:52 +04:00
..
app Switch ports 466xx to 266xx (#1735) 2018-06-12 13:25:52 +04:00
docker Switch ports 466xx to 266xx (#1735) 2018-06-12 13:25:52 +04:00
p2p Switch ports 466xx to 266xx (#1735) 2018-06-12 13:25:52 +04:00
persist Switch ports 466xx to 266xx (#1735) 2018-06-12 13:25:52 +04:00
README.md typo fix 2018-04-23 21:03:34 +02:00
test_cover.sh Testing refactor for Jenkins (#1098) 2018-03-08 18:52:38 +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 with 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
    • kvstore 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 kvstore 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