Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.

Fix API tests for header rewrite#4355

Merged
rawlinp merged 2 commits into
apache:masterfrom
mhoppa:bug/fix_api_tests
Jan 30, 2020
Merged

Fix API tests for header rewrite#4355
rawlinp merged 2 commits into
apache:masterfrom
mhoppa:bug/fix_api_tests

Conversation

@mhoppa

@mhoppa mhoppa commented Jan 30, 2020

Copy link
Copy Markdown
Contributor

What does this PR (Pull Request) do?

  • This PR is not related to any Issue

Which Traffic Control components are affected by this PR?

What is the best way to verify this PR?

Run API tests

If this is a bug fix, what versions of Traffic Control are affected?

The following criteria are ALL met by this PR

  • This PR includes tests OR I have explained why tests are unnecessary
  • This PR includes documentation OR I have explained why documentation is unnecessary
  • This PR includes an update to CHANGELOG.md OR such an update is not necessary
  • This PR includes any and all required license headers
  • This PR ensures that database migration sequence is correct OR this PR does not include a database migration
  • This PR DOES NOT FIX A SERIOUS SECURITY VULNERABILITY (see the Apache Software Foundation's security guidelines for details)

Additional Information

@mhoppa
mhoppa requested a review from rob05c January 30, 2020 16:48
@mhoppa

mhoppa commented Jan 30, 2020

Copy link
Copy Markdown
Contributor Author

@rob05c unsure if that was the best way to fix it but API tests are passing now let me know if you think it should be handled in other ways

@mitchell852 mitchell852 added Traffic Ops related to Traffic Ops tests related to tests and/or testing infrastructure labels Jan 30, 2020
@mhoppa

mhoppa commented Jan 30, 2020

Copy link
Copy Markdown
Contributor Author

Thanks @rob05c for the offline help for coming up with the better solution :) and FWIW they were not broken it was an intermittent bug dependent on what DS was received for the test

@rawlinp rawlinp self-assigned this Jan 30, 2020

@rawlinp rawlinp left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ran API tests on master; they failed. Ran API tests on this PR; they passed.

@rawlinp
rawlinp merged commit 24b1e84 into apache:master Jan 30, 2020
rawlinp pushed a commit to rawlinp/trafficcontrol that referenced this pull request Jan 30, 2020
* Fix API tests for header rewrite

* Better approach :)

(cherry picked from commit 24b1e84)
rawlinp added a commit that referenced this pull request Jan 30, 2020
* Fix API tests for header rewrite

* Better approach :)

(cherry picked from commit 24b1e84)

Co-authored-by: Michael Hoppal <54542891+mhoppa@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

tests related to tests and/or testing infrastructure Traffic Ops related to Traffic Ops

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants