Sam Kleinman
21461e55a7
e2e(harness): plumb logging instance ( #7958 )
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
3 years ago
M. J. Fromberger
8f06e0c9e7
cleanup: remove redundant error plumbing ( #6778 )
This is a mostly-automated fixup using Comby (https://comby.dev ) to remove
lexically-obvious redundant error checks. No functional changes are intended.
To reproduce the core change:
# Collapse redundant error check conditionals
% comby -in-place 'if err != nil {
return err
}
return nil' 'return err' .go
# Fold out unnecessary error temporaries
% comby -in-place ':[spc~^\s*]err :[~:?]= :[any]
return err' ':[spc]return :[any]' .go
Fixes #6479 and related cases.
3 years ago
Erik Grinaker
53022220f6
test: fix various E2E test issues ( #5576 )
* Don't use state sync for nodes starting at initial height.
* Also remove stopped containers when cleaning up.
* Start nodes in order of startAt, mode, name to avoid full nodes starting before their seeds.
* Tweak network waiting to avoid halts caused by validator changes and perturbations.
* Disable most tests for seed nodes, which aren't always able to join consensus.
* Disable `blockchain/v2` due to known bugs.
4 years ago
Erik Grinaker
d11e5993b1
test: tag E2E Docker resources and autoremove them ( #5558 )
Fixes #5555 .
4 years ago
Erik Grinaker
b6979e7fbd
test: clean up E2E test volumes using a container ( #5509 )
4 years ago
Erik Grinaker
250c3aa92e
test: add end-to-end testing framework ( #5435 )
Partial fix for #5291 . For details, see [README.md](https://github.com/tendermint/tendermint/blob/erik/e2e-tests/test/e2e/README.md ) and [RFC-001](https://github.com/tendermint/tendermint/blob/master/docs/rfc/rfc-001-end-to-end-testing.md ).
This only includes a single test case under `test/e2e/tests/`, as a proof of concept - additional test cases will be submitted separately. A randomized testnet generator will also be submitted separately, there a currently just a handful of static testnets under `test/e2e/networks/`. This will eventually replace the current P2P tests and run in CI.
4 years ago