Files
tendermint/CHANGELOG_PENDING.md
Zarko Milosevic b738add80c cs: fix nondeterministic tests (#3582)
Should fix #3451, #2723 and #3317.

Test TestResetTimeoutPrecommitUponNewHeight is simplified so it reduces a risk of timeout failure. Furthermore, timeout we wait for TimeoutEvents is increased, and the timeout value is more precisely computed. This should hopefully decrease a chance of non-deterministic test failures.

This assertion is problematic to ensure consistently due to dependency on scheduler. On the other hand, if I am not wrong, order in which messages are read from the channel respects order in which messages are written. Therefore, process will receive 2f+1 precommits that are not all for v (one is for nil) so TriggeredTimeoutPrecommit would be set to true. So we don't need to assert it. I know that it would be better to still assert to it but I don't know how to do it without sleep and that is ugly and is causing us nondeterministic failures.
2019-04-23 13:19:16 +04:00

849 B

v0.31.5

**

BREAKING CHANGES:

  • CLI/RPC/Config

  • Apps

  • Go API

  • Blockchain Protocol

  • P2P Protocol

FEATURES:

IMPROVEMENTS:

  • [rpc] #3534 Add support for batched requests/responses in JSON RPC
  • [cli] #3160 Add -config=<path-to-config> option to testnet cmd (@gregdhill)
  • [cs/replay] #3460 check appHash for each block

BUG FIXES:

  • [state] #3537 LoadValidators: do not return an empty validator set
  • [p2p] #3532 limit the number of attempts to connect to a peer in seed mode to 16 (as a result, the node will stop retrying after a 35 hours time window)
  • [consensus] #2723, #3451 and #3317 Fix non-deterministic tests