Commit d0d22c3
## Summary
Increases the base `ensureTimeout` in consensus tests from 200ms to
400ms. This also raises `ensureProposalTimeout` (defined as
`ensureTimeout * 5`) from 1s to 2s. `ensureVoteTimeout` stays at 2s
(already adequate).
## Motivation
Celestia-core has more per-round work than upstream CometBFT:
- Propagation reactor
- CAT mempool
- App-driven timeouts
The 200ms base timeout was inherited from upstream, where it is also
known to be flaky
([cometbft#1923](cometbft/cometbft#1923)).
Upstream has not resolved their consensus test flakes. A modest increase
to 400ms better reflects the actual time consensus operations take in
celestia-core without meaningfully slowing down the test suite.
## Test plan
- [ ] `go test -v -run TestStateFullRound1 -count=10 ./consensus/`
passes
- [ ] CI passes on this PR
Refs: #2430 #1017 #2702
🤖 Generated with [Claude Code](https://claude.com/claude-code)<hr>This
is an automatic backport of pull request #2849 done by
[Mergify](https://mergify.com).
<!-- devin-review-badge-begin -->
---
<a
href="https://app.devin.ai/review/celestiaorg/celestia-core/pull/2948"
target="_blank">
<picture>
<source media="(prefers-color-scheme: dark)"
srcset="https://static.devin.ai/assets/gh-open-in-devin-review-dark.svg?v=1">
<img
src="https://static.devin.ai/assets/gh-open-in-devin-review-light.svg?v=1"
alt="Open with Devin">
</picture>
</a>
<!-- devin-review-badge-end -->
Co-authored-by: Rootul P <rootulp@gmail.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 479fad9 commit d0d22c3
2 files changed
Lines changed: 2 additions & 1 deletion
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
0 commit comments