ocket8888 opened a new pull request #4957:
URL: https://github.com/apache/trafficcontrol/pull/4957
## What does this PR (Pull Request) do?
- [ ] This PR is not related to any Issue
This PR removes the API tests' dependency on a running Perl instance - and
also skips running ISO generation tests in unsupported environments. This is
done with two new configuration options:
```json
{
"noPerl": true,
"noISO": true
}
```
which are exactly what they sound like
## Which Traffic Control components are affected by this PR?
- Traffic Ops Client (Go)
- Traffic Ops
## What is the best way to verify this PR?
Run the API tests, both with and without `noPerl` and `noISO` set to true,
ensure they all pass in any case, but especially that ISO generation tests are
skipped when `noISO` is `true` and that endpoints that don't exist in Go are
skipped when `noPerl` is `true`.
## The following criteria are ALL met by this PR
- [x] This PR includes tests
- [x] Documentation is unnecessary
- [x] An update to CHANGELOG.md is not necessary
- [x] This PR includes any and all required license headers
- [x] This PR does not include a database migration
- [x] This PR **DOES NOT FIX A SERIOUS SECURITY VULNERABILITY**
----------------------------------------------------------------
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:
[email protected]