You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2019/10/23 19:52:29 UTC
[GitHub] [trafficcontrol] rawlinp opened a new pull request #4020: Fix TO
API test failure when starting from a fresh `db/admin reset`
rawlinp opened a new pull request #4020: Fix TO API test failure when starting from a fresh `db/admin reset`
URL: https://github.com/apache/trafficcontrol/pull/4020
## What does this PR (Pull Request) do?
This PR fixes an issue that causes the TO API tests to fail when being run against a freshly reset TODB (i.e. `db/admin --env=test reset`).
- [x] This PR is not related to any Issue
## Which Traffic Control components are affected by this PR?
- TO API tests
## What is the best way to verify this PR?
On `master`, run `db/admin --env=test reset` on your test environment to reset the test DB. Then run the TO API tests, and observe the test failure (type already exists).
Follow the same steps on this PR, and observe the test success.
## The following criteria are ALL met by this PR
- [x] This PR fixes a testing issue
- [x] ^ no docs necessary
- [x] ^ no changelog necessary
- [x] This PR includes any and all required license headers
- [x] This PR ensures that database migration sequence is correct OR this PR does not include a database migration
- [x] This PR **DOES NOT FIX A SERIOUS SECURITY VULNERABILITY** (see [the Apache Software Foundation's security guidelines](https://www.apache.org/security/) for details)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services