mirror of
https://github.com/fluencelabs/tendermint
synced 2025-04-24 22:32:15 +00:00
* improve ResetTestRootWithChainID() concurrency safety Rely on ioutil.TempDir() to create test root directories and ensure multiple same-chain id test cases can run in parallel. * Update config/toml.go Co-Authored-By: alessio <quadrispro@ubuntu.com> * clean up test directories after completion Closes: #1034 * Remove redundant EnsureDir call * s/PanicSafety()/panic()/s * Put create dir functionality back in ResetTestRootWithChainID * Place test directories in OS's tempdir In modern UNIX and UNIX-like systems /tmp is very often mounted as tmpfs. This might speed test execution a bit. * Set 0700 to a const * rootsDirs -> configRootDirs * Don't double remove directories * Avoid global variables * Fix consensus tests * Reduce defer stack * Address review comments * Try to fix tests * Update CHANGELOG_PENDING.md Co-Authored-By: alessio <quadrispro@ubuntu.com> * Update consensus/common_test.go Co-Authored-By: alessio <quadrispro@ubuntu.com> * Update consensus/common_test.go Co-Authored-By: alessio <quadrispro@ubuntu.com>
800 B
800 B
v0.31.0
**
Special thanks to external contributors on this release:
BREAKING CHANGES:
-
CLI/RPC/Config
-
Apps
-
Go API
-
Blockchain Protocol
-
P2P Protocol
FEATURES:
IMPROVEMENTS:
- [config] #3291 Make config.ResetTestRootWithChainID() create concurrency-safe test directories.
BUG FIXES:
- [consensus] #3297 Flush WAL on stop to prevent data corruption during graceful shutdown
- [consensus] #3310 Reset TriggeredTimeoutPrecommit before starting next height
- [rpc] #3251 Fix /net_info#peers#remote_ip format. New format spec:
- dotted decimal ("192.0.2.1"), if ip is an IPv4 or IP4-mapped IPv6 address
- IPv6 ("2001:db8::1"), if ip is a valid IPv6 address
- [cmd] #3314 Return an
error on
show_validator
when the private validator file does not exist