-
Notifications
You must be signed in to change notification settings - Fork 297
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: fixes e2e test failures due to increased timeout propose and timeout commit #3718
Conversation
Will open it for reviews once this PR gets merged. |
I can confirm that all the e2e tests (i.e., |
WalkthroughWalkthroughThe recent changes enhance the configuration and performance of the Changes
Sequence Diagram(s)sequenceDiagram
participant B as BenchmarkTest
participant C as Configuration
participant T as Transaction Indexer
participant M as Mempool
B->>C: SetupNodes(WithTxIndexer, WithMempoolMaxTxsBytes, WithMempoolMaxTxBytes)
C->>T: Configure Transaction Indexer
C->>M: Configure Mempool Settings
T->>B: Return Transaction Indexer Status
M->>B: Return Mempool Configuration
Recent review detailsConfiguration used: .coderabbit.yaml Files selected for processing (2)
Additional comments not posted (5)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
I'm confused because |
I see where the confusion comes from, the issue resolved in this PR is not about the values of timeout_commit and timeout_propose in the app default configs (or the cometBFT default configs), rather which configs we use in the e2e tests. |
…meout commit (#3718) The e2e tests started failing due to a recent change to the node configurations, which unintentionally increased the timeout propose and timeout commit of all validators in all e2e tests to `10` and `11` seconds ([link](https://github.com/celestiaorg/celestia-app/blob/9fa9fbf2fc347752dfe67aa3eca6dc157d3f3291/pkg/appconsts/consensus_consts.go#L6-L7)). This caused the `E2ESimple` test to fail due to its short test duration `30` seconds and insufficient network progress due to the high block time (due to these, there were not enough txs at the end of the test). The `MajorUpgradeToV2` also seemed to fail for similar reasons (related to timeouts). The current PR addresses the problem by retracting the initial timeout propose and timeout commit i.e., `3` and `1` seconds, respectively. This will resolve the issue and make all the e2e tests pass.
The e2e tests started failing due to a recent change to the node configurations, which unintentionally increased the timeout propose and timeout commit of all validators in all e2e tests to
10
and11
seconds (link). This caused theE2ESimple
test to fail due to its short test duration30
seconds and insufficient network progress due to the high block time (due to these, there were not enough txs at the end of the test). TheMajorUpgradeToV2
also seemed to fail for similar reasons (related to timeouts).The current PR addresses the problem by retracting the initial timeout propose and timeout commit i.e.,
3
and1
seconds, respectively. This will resolve the issue and make all the e2e tests pass.