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

Add integration tests for exchange server/client #93

Merged

Conversation

fl0rek
Copy link
Member

@fl0rek fl0rek commented Oct 4, 2023

Grouped by the setup:

  • simple client header, similar to existing unittests, but without mocking sending/receiving requests
  • multiple peers to see whether head choice algorithm works correctly
  • server with prepared invalid store to test client validation

@fl0rek fl0rek requested review from oblique and zvolin October 4, 2023 16:16
Copy link
Member

@zvolin zvolin left a comment

Choose a reason for hiding this comment

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

nice, left a few comments / discussions

node/src/store.rs Outdated Show resolved Hide resolved
node/tests/node.rs Outdated Show resolved Hide resolved
node/tests/node.rs Outdated Show resolved Hide resolved
node/tests/node.rs Outdated Show resolved Hide resolved
node/tests/node.rs Outdated Show resolved Hide resolved
node/tests/node.rs Show resolved Hide resolved
Copy link
Member

@oblique oblique left a comment

Choose a reason for hiding this comment

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

lgtm

node/tests/exchange.rs Show resolved Hide resolved
Copy link
Member

@zvolin zvolin left a comment

Choose a reason for hiding this comment

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

👍

@zvolin zvolin force-pushed the chore/exchange-server-client-integration-tests0 branch from 31a01fb to 86a70ff Compare October 6, 2023 10:55
@zvolin zvolin enabled auto-merge (squash) October 6, 2023 10:57
fl0rek and others added 5 commits October 6, 2023 13:38
Signed-off-by: Mikołaj Florkiewicz <[email protected]>
Co-authored-by: Maciej Zwoliński <[email protected]>
Signed-off-by: Mikołaj Florkiewicz <[email protected]>
Signed-off-by: Mikołaj Florkiewicz <[email protected]>
@fl0rek fl0rek force-pushed the chore/exchange-server-client-integration-tests0 branch from 86a70ff to eadb5f0 Compare October 6, 2023 11:38
@zvolin zvolin merged commit 3ec12e2 into eigerco:main Oct 6, 2023
0 of 4 checks passed
@github-actions github-actions bot mentioned this pull request Jan 9, 2024
@zvolin zvolin mentioned this pull request Jan 12, 2024
@fl0rek fl0rek deleted the chore/exchange-server-client-integration-tests0 branch July 22, 2024 15:10
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.

3 participants