Testing Delivery Services are not full representations #7189
Labels
low difficulty
the estimated level of effort to resolve this issue is low
low impact
affects only a small portion of a CDN, and cannot itself break one
tech debt
rework due to choosing easy/limited solution
tests
related to tests and/or testing infrastructure
TO Client (Go)
related to the Go implementation of a TC client
This Improvement request (usability, performance, tech debt, etc.) affects these Traffic Control components:
Current behavior:
In the tc-fixtures of (at least) the v4 and v5 client/API integration tests, the listed Delivery Services are not full representations of Delivery Services. Specifically, they are known to be missing the
regional
field, which relies on our parser's behavior of not throwing errors when fields are missing. This is technically in violation of the HTTP spec, since it makes our PUT requests not necessarily idempotent.New behavior:
Our testing data should ideally include only complete representations of the objects they represent.
The text was updated successfully, but these errors were encountered: