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

fix: broken gateway pagination and status check tests #1075

Merged
merged 3 commits into from
Jul 10, 2023

Conversation

oddgrd
Copy link
Contributor

@oddgrd oddgrd commented Jul 9, 2023

Description of change

When testing h2 project support, I discovered some broken gateway tests. These have (understandably) slipped through since we don't run them in CI, which is the bigger problem here. 😄 The status test was not updated to reflect the changes we made to the gateway status check for the shuttle status page, and the pagination tests in service were not deterministic.

How has this been tested? (if applicable)

Run USE_PANAMAX=disable make shuttle-deployer, then run the test command from the gateway readme:

SHUTTLE_TESTS_RUNTIME_IMAGE=public.ecr.aws/shuttle-dev/deployer:latest SHUTTLE_TESTS_NETWORK=shuttle-dev_user-net cargo test --package shuttle-gateway --all-features -- --nocapture

Copy link
Contributor

@iulianbarbu iulianbarbu left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks @oddgrd !

@oddgrd oddgrd merged commit 488c417 into shuttle-hq:main Jul 10, 2023
30 checks passed
@oddgrd oddgrd deleted the fix/broken-gateway-tests branch July 10, 2023 07:38
AlphaKeks pushed a commit to AlphaKeks/shuttle that referenced this pull request Jul 21, 2023
* fix: broken gateway tests

* refactor: clean up status check test
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.

None yet

2 participants