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

chore: remove GatewayTest #5545

Merged
merged 2 commits into from
Jul 9, 2024

Conversation

m1sterc001guy
Copy link
Contributor

Working towards: #5168

This should be one of the last cleanup PRs of the Lightning tests. This PR removes the GatewayTest struct.

GatewayTest was just a wrapper around Gateway that started the webserver. The webserver has been a source of issues in the past, we have to poll to wait for it to come up, and it causes flakiness. We do not even need it, everything is in process so we can just directly call functions on the gateway. Now that we have devimint tests, we already have coverage of the webserver too. This PR reduces the scope of the gateway tests to what they should be - module tests :)

@m1sterc001guy
Copy link
Contributor Author

Needs #5564

@m1sterc001guy m1sterc001guy marked this pull request as draft July 3, 2024 14:27
@m1sterc001guy m1sterc001guy force-pushed the remove_gateway_test branch from c0efc9b to 390fd33 Compare July 8, 2024 14:25
@m1sterc001guy m1sterc001guy marked this pull request as ready for review July 8, 2024 14:36
@m1sterc001guy m1sterc001guy force-pushed the remove_gateway_test branch from 390fd33 to b6b17b8 Compare July 8, 2024 17:58
@m1sterc001guy m1sterc001guy enabled auto-merge July 8, 2024 18:40
@m1sterc001guy m1sterc001guy added this pull request to the merge queue Jul 9, 2024
Merged via the queue into fedimint:master with commit 60a1db3 Jul 9, 2024
23 checks passed
@m1sterc001guy m1sterc001guy deleted the remove_gateway_test branch July 9, 2024 15:45
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