mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-11 07:20:19 +00:00
* test/fuzz: fix rpc, secret_connection and pex tests - ignore empty data in rpc - provide correct IP in pex - spawn a goroutine for Write and do multiple Read(s) * test/fuzz: fix init in pex test * test/fuzz: assign NewServeMux to global var * test/fuzz: only try to Unmarshal if blob is not empty * run fuzz tests for PRs which modify fuzz tests themselves * test/fuzz: move MakeSwitch into init
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
Fuzzing
Fuzzing of various system inputs.
See ./fuzz/README.md for more details.