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

Servers service interface fix#4828

Merged
mitchell852 merged 2 commits intoapache:masterfrom
ocket8888:servers-service-interface-fix
Jun 28, 2020
Merged

Servers service interface fix#4828
mitchell852 merged 2 commits intoapache:masterfrom
ocket8888:servers-service-interface-fix

Conversation

@ocket8888
Copy link
Copy Markdown
Contributor

What does this PR (Pull Request) do?

  • This PR is not related to any Issue

Due to false positives in the unit tests, the validation for API v3 servers was believed to be working but actually had a couple of holes:

  • You could create servers with no service interfaces
  • You could create servers with interface MTU < 1280

This PR fixes both the false positives and the actual validation.

Which Traffic Control components are affected by this PR?

  • Traffic Ops

What is the best way to verify this PR?

Run the tests (which should now work)

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

  • master

The following criteria are ALL met by this PR

  • This PR includes tests
  • Documentation is unnecessary
  • An update to CHANGELOG.md is not necessary
  • This PR includes any and all required license headers
  • This PR does not include a database migration
  • This PR DOES NOT FIX A SERIOUS SECURITY VULNERABILITY

@ocket8888 ocket8888 added bug something isn't working as intended Traffic Ops related to Traffic Ops low impact affects only a small portion of a CDN, and cannot itself break one tests related to tests and/or testing infrastructure labels Jun 24, 2020
Copy link
Copy Markdown
Member

@mitchell852 mitchell852 left a comment

Choose a reason for hiding this comment

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

api tests pass

@mitchell852 mitchell852 merged commit 8fe5dbe into apache:master Jun 28, 2020
@mitchell852 mitchell852 mentioned this pull request Jun 28, 2020
7 tasks
@ocket8888 ocket8888 deleted the servers-service-interface-fix branch June 29, 2020 02:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug something isn't working as intended low impact affects only a small portion of a CDN, and cannot itself break one 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.

2 participants