-
Notifications
You must be signed in to change notification settings - Fork 245
test: test P2P catchup #1614
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: test P2P catchup #1614
Conversation
WalkthroughThe Changes
Sequence Diagram(s)sequenceDiagram
participant Tester
participant Node
participant DAClient
participant BlockProducer
Tester->>Node: Initialize nodes with DAClient
Node->>DAClient: Connect mock DA Client
Tester->>Node: Submit transactions
Node->>BlockProducer: Wait for block production
BlockProducer->>Node: Produce specified number of blocks
Node->>Tester: Completion of block synchronization
Assessment against linked issues
Poem
Tip AI model upgrade
|
e56170f to
d2464dd
Compare
d2464dd to
254ed40
Compare
390152e to
0960086
Compare
0960086 to
d80ec0e
Compare
d80ec0e to
05190e4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (1)
- node/full_node_integration_test.go (1 hunks)
Additional comments not posted (1)
node/full_node_integration_test.go (1)
708-728: Good structure for testing catch-up scenarios.The function
TestCatchUpis well-structured, testing both small and large catch-up scenarios. Ensure that edge cases, such as network failures or data corruption, are also tested to cover all possible scenarios.
Manav-Aggarwal
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Overview
Resolves #1213.
Summary by CodeRabbit
doTestCatchupfunction to ensure the system can catch up with a specified number of blocks during integration tests.