Skip to content
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

GH-647: Review 1 #214

Merged
merged 6 commits into from
Dec 30, 2022
Merged

GH-647: Review 1 #214

merged 6 commits into from
Dec 30, 2022

Conversation

utkarshg6
Copy link
Collaborator

No description provided.

Copy link
Collaborator

@dnwiebe dnwiebe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Almost!

@@ -5513,7 +5518,7 @@ mod tests {
database: &mut NeighborhoodDatabase,
agrs: Vec<AccessibleGossipRecord>,
gossip_source: SocketAddr,
_peer_addrs: &[IpAddr],
_connection_progress_peers: &[IpAddr],
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This field shouldn't be ignored by the mock, and whatever tests assert on these parameters should also assert on this one.

@utkarshg6 utkarshg6 merged commit 689468f into GH-647 Dec 30, 2022
@utkarshg6 utkarshg6 deleted the GH-647-review-1 branch December 30, 2022 12:54
utkarshg6 added a commit that referenced this pull request Dec 31, 2022
…#213)

* GH-647: make the ip addresses of initial node descriptors as part of previous pass targets

* GH-647: test drive the case where the pass target is a duplicate of peer address present in a different connection progress

* GH-647: remove the commented test in overall_connection_status.rs

* Revert "GH-647: make the ip addresses of initial node descriptors as part of previous pass targets"

This reverts commit afd43da.

* GH-647: pass the vector of peer_addrs to the handle() of GossipAcceptor and GossipHandler

* GH-647: test drive the function to get current peer addrs

* GH-647: add test in neighborhood that the gossip is being ignored

* GH-647: remove the warnings

* GH-647: remove clippy warnings

* GH-647: remove clippy warnings

* GH-647: Review 1 (#214)

* GH-647: rename peers_addrs to connection_progress_peers

* GH-647: provide the accurate name inside the constructor of System in the test

* GH-647: reword the trace logs for the unnecessary connection progress

* GH-647: use a unique number to generate a unique socket address for peer 2

* GH-647: add review changes for overall_connection_status.rs

* GH-647: add connection_progress_peers as a param in the mock (#216)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants