-
Notifications
You must be signed in to change notification settings - Fork 164
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
test: remote requests are now replayed #1941
base: main
Are you sure you want to change the base?
Conversation
7a5e2fd
to
f22ede9
Compare
Converted to draft because there are still some things not quite right. |
f22ede9
to
fafd935
Compare
bf7d43e
to
fb21e82
Compare
It works, but now the build fails with an OOM exception during the unit tests :-/ |
why does it need more memory?? |
I'm guessing because it keeps the requests in memory? Not sure. It doesn't seem that much traffic. |
fyi: i fixed the blusky issue - for some reason it kept giving my user invalid handle causing blusky url not to work. still this pr has merits to explore - just wondered if the trigger was the random blusky errors :) |
The current trigger was indeed this blusky issue :-) |
fb21e82
to
dfd718c
Compare
I'm not really happy with how WireMock handles record/replay of requests, I'm going to try to see if switching to Hoverfly is a better option. |
dfd718c
to
fca7851
Compare
Instead of hitting remote servers and possibly getting failed tests becauase servers are down or becuase wer're getting rate limited, we now record the responses and replay them. PS: This is not done for Maven artifacts/MIMA.
fca7851
to
762f5ca
Compare
In the end Hoverfly came with its own set of problems so went back to making WireMock work and it seems I was successful. |
This way we don't rely on external services being up or being rate limtied.