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

Bug 1887934: TestForwardedHeaderPolicy*: Make case-insensitive #474

Conversation

Miciah
Copy link
Contributor

@Miciah Miciah commented Oct 12, 2020

TestForwardedHeaderPolicy*: Show pod logs if failed

  • test/e2e/forwarded_header_policy_test.go (testRouteHeaders): If the polling loop fails, output the client pod's spec and logs as part of the failure message.

TestForwardedHeaderPolicy*: Make case-insensitive

Ignore case when comparing the expected response and the actual response in the Forwarded header policy E2E tests. openshift/router#194 turns off HAProxy's HTX option when HTTP/2 is not enabled. As a result, HAProxy does not down-case HTTP header names.

  • test/e2e/forwarded_header_policy_test.go (testRouteHeaders): Ignore case when comparing the expected response and the actual response.

* test/e2e/forwarded_header_policy_test.go (testRouteHeaders): If the
polling loop fails, output the client pod's spec and logs as part of the
failure message.
@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 12, 2020
Ignore case when comparing the expected response and the actual response in
the Forwarded header policy E2E tests.
openshift/router#194 turns off HAProxy's HTX option
when HTTP/2 is not enabled.  As a result, HAProxy does not down-case HTTP
header names.

* test/e2e/forwarded_header_policy_test.go (testRouteHeaders): Ignore case
when comparing the expected response and the actual response.
@Miciah Miciah changed the title TestForwardedHeaderPolicy*: Show pod logs if failed TestForwardedHeaderPolicy*: Make case-insensitive Oct 13, 2020
@sgreene570
Copy link
Contributor

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Oct 13, 2020
@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Miciah, sgreene570

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-robot openshift-merge-robot merged commit f5bb189 into openshift:master Oct 13, 2020
@Miciah
Copy link
Contributor Author

Miciah commented Oct 13, 2020

Retconning a BZ to facilitate a backport to 4.6.
/retitle Bug 1887934: TestForwardedHeaderPolicy*: Make case-insensitive

@openshift-ci-robot openshift-ci-robot changed the title TestForwardedHeaderPolicy*: Make case-insensitive Bug 1887934: TestForwardedHeaderPolicy*: Make case-insensitive Oct 13, 2020
@openshift-ci-robot
Copy link
Contributor

@Miciah: All pull requests linked via external trackers have merged:

Bugzilla bug 1887934 has been moved to the MODIFIED state.

In response to this:

Bug 1887934: TestForwardedHeaderPolicy*: Make case-insensitive

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.

@Miciah
Copy link
Contributor Author

Miciah commented Oct 13, 2020

/cherry-pick release-4.6

@openshift-cherrypick-robot

@Miciah: new pull request created: #475

In response to this:

/cherry-pick release-4.6

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants