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 case for mixed/uppercase host name #14858
Conversation
@openshift/networking PTAL |
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.
I think you need two different routes. One for /Letter and the other for /letter
Then hit them and make sure they are different.
[test] |
[testextended][extended:core(router)] |
Evaluated for origin test up to 32ac928 |
continuous-integration/openshift-jenkins/test FAILURE (https://ci.openshift.redhat.com/jenkins/job/test_pull_request_origin/2905/) (Base Commit: 4917a3e) (PR Branch Commit: 32ac928) |
[testextended][extended:core(router)] |
Evaluated for origin testextended up to 32ac928 |
continuous-integration/openshift-jenkins/testextended FAILURE (https://ci.openshift.redhat.com/jenkins/job/test_pull_request_origin_extended/911/) (Base Commit: 4917a3e) (PR Branch Commit: 32ac928) (Extended Tests: core(router)) |
/assign @knobunc |
/approve no-issue |
/assign @mfojtik |
@pecameron can we add a /letter test case to make sure that the paths are not mashed together by the case comparison. |
@knobunc the case comparison smashes the host to lower and then does the test. /Letter is passed as is. If the shift to lower went too far we would get /letter which is broken. What are you looking for in the /letter case? Adding it is a little complex. Also it restarts the approval process. You are not an approver in test/extended/OWNERS. |
/retest |
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.
This is fine to go in if we can get the tests to pass. We can add the other test later.
/approve no-issue |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: knobunc, pecameron Associated issue requirement bypassed by: knobunc The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
/unassign |
57aa2df
to
86be7ca
Compare
/retest |
1 similar comment
/retest |
This is a test case for PR 14157 When a user provides a mixed or uppercase host name the router converts it to lower case before matching it to existing routes. Test for: openshift#14157 bug 1461466 https://bugzilla.redhat.com/show_bug.cgi?id=1461466
/retest |
/test extended_conformance_install_update |
2 similar comments
/test extended_conformance_install_update |
/test extended_conformance_install_update |
/retest |
@pecameron PR needs rebase |
this had a bad target branch |
@stevekuznetsov Do you know what causes this? Where is the haprox-router image built? How do I find out why it failed to build/push? The changes in this PR are in test/extended. github.com/openshift/origin/test/integration .TestRouter |
Unclear. I'd re-test on a new PR and see if it re-occurs |
@stevekuznetsov OK I'll get a new PR going. |
@pecameron: The following tests failed, say
Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
This is a test case for PR 14157
When a user provides a mixed or uppercase host name the router converts
it to lower case before matching it to existing routes.
Test for:
#14157
bug 1461466
https://bugzilla.redhat.com/show_bug.cgi?id=1461466
Test case:
bug 1467006
https://bugzilla.redhat.com/show_bug.cgi?id=1467006