-
Notifications
You must be signed in to change notification settings - Fork 34
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
Use only fake domain in our tests #2197
Use only fake domain in our tests #2197
Conversation
run tests |
0adee19
to
5fb410e
Compare
run tests |
There doesn't seem to be a sense to rerun OCP now, I'll try it tomorrow as the cluster is in a bad shape. |
OCP test failures are not related, but I need to re-think that proxy stuff I guess. Not sure. |
5fb410e
to
ef3e625
Compare
I thought about it and what we need to test is that proxy options are set correctly, not the redirect to external domain. |
run tests |
@mocenas OCP native run didn't fail, I canceled it manually because it was started when OCP cluster was down and now it is waiting in a queue. I won't merge this till it is green, so please review when you get a time. Thanks |
I thought about it too. It "would be nice" if we could do an E2E test to verify that communication though proxy works. But as you states, we want to test connection and options-passing to the proxy, not proxy's ability to forward it outside. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I have re-triggered OCP native manually in Jenkins several times, it seems like it fails randomly on OOM and failing tests are changing. I can see periodic OCP native CI is also failing over OOM (among other) so I dare say it is not related (also not sure how could changes here cause OOM). For that reason I think it should be safe to merge. |
Summary
The
ReactiveRestClientProxyIT
test really talked tohttp://example.com
, now no external communication toexample.com
is run, however we assert that correct host was proxied by passing$host
via Nginx back to the test.Please select the relevant options.
run tests
phrase in comment)Checklist: