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 more http mirroring layer integration tests. #504

Merged
merged 20 commits into from
Oct 10, 2022

Conversation

t4lz
Copy link
Member

@t4lz t4lz commented Oct 7, 2022

@t4lz t4lz marked this pull request as draft October 7, 2022 15:14
@t4lz t4lz force-pushed the more-integration branch 7 times, most recently from 2c7c94c to 163d1c8 Compare October 8, 2022 17:22
@eyalb181
Copy link
Member

eyalb181 commented Oct 8, 2022

General comment: a bit too late in this case, but opt for small PRs - no need to get Flask + Go + Node in one go. Feel free to split Issues too to reflect that.

@t4lz t4lz force-pushed the more-integration branch 2 times, most recently from 27bf4ca to e8be805 Compare October 9, 2022 14:25
@t4lz t4lz marked this pull request as ready for review October 9, 2022 14:38
@t4lz t4lz marked this pull request as draft October 9, 2022 15:53
@t4lz t4lz force-pushed the more-integration branch 2 times, most recently from 65bc21a to 5098cff Compare October 9, 2022 16:33
@t4lz t4lz force-pushed the more-integration branch 2 times, most recently from 5b62e9d to 8beb2b1 Compare October 10, 2022 07:45
t4lz added 2 commits October 10, 2022 09:48
Since there are now also other files with integration tests in
mirrord-layer, it does not make sense to call that file
`integration.rs`.
@t4lz t4lz force-pushed the more-integration branch from 8beb2b1 to b99120f Compare October 10, 2022 07:55
CHANGELOG.md Show resolved Hide resolved
@t4lz t4lz marked this pull request as ready for review October 10, 2022 08:20
.github/workflows/ci.yaml Outdated Show resolved Hide resolved
.gitignore Show resolved Hide resolved
mirrord-layer/tests/http_mirroring.rs Show resolved Hide resolved
mirrord-layer/tests/apps/app_node.js Outdated Show resolved Hide resolved
mirrord-layer/tests/apps/app_node.js Outdated Show resolved Hide resolved
@t4lz t4lz marked this pull request as draft October 10, 2022 12:52
@t4lz
Copy link
Member Author

t4lz commented Oct 10, 2022

Converted to draft since it turns out go was still unstable. Now tried this new strategy from https://stackoverflow.com/questions/39320025/how-to-stop-http-listenandserve. Not sure about this yet since I have no experience with Go.

@t4lz t4lz marked this pull request as ready for review October 10, 2022 14:24
@t4lz t4lz merged commit ba2d142 into metalbear-co:main Oct 10, 2022
tamasfe pushed a commit to tamasfe/mirrord that referenced this pull request Oct 10, 2022
* Add http mirror layer integration test with FastAPI.

* Add http mirror layer integration test with node.

* Also disable file ops in http test.

* Add http mirror layer integration test with go.

* Send the layer a close connection message after sending data.

* Apps exit on all done, instead of on DELETE.

* build the go app in the tests so that new devs don't have to build it before running tests.

* changelog

* Rename http mirroring integration tests to `http_mirroring`.
    - Since there are now also other files with integration tests in
       mirrord-layer, it does not make sense to call that file
       `integration.rs`.
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