ocket8888 commented on a change in pull request #5071:
URL: https://github.com/apache/trafficcontrol/pull/5071#discussion_r501154435
##########
File path: traffic_ops/testing/api/v1/todb_test.go
##########
@@ -333,6 +333,7 @@ func Teardown(db *sql.DB) error {
DELETE FROM profile;
DELETE FROM parameter;
DELETE FROM profile_parameter;
+ DELETE FROM topology;
Review comment:
Because if you run the APIv1 against an "un-clean" database with DSes
that have topologies, the tests will to clean up DSes because it violates a
foreign key constraint.
----------------------------------------------------------------
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]