This is an automated email from the ASF dual-hosted git repository.
mitchell852 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git
The following commit(s) were added to refs/heads/master by this push:
new 013a639 Include topologies tables in the list of tables to delete
before running API tests (#4902)
013a639 is described below
commit 013a639b11e0261e8b9cbcb012b7b353bd8ba537
Author: Zach Hoffman <[email protected]>
AuthorDate: Wed Jul 22 16:52:27 2020 +0000
Include topologies tables in the list of tables to delete before running
API tests (#4902)
---
traffic_ops/testing/api/v3/todb_test.go | 3 +++
1 file changed, 3 insertions(+)
diff --git a/traffic_ops/testing/api/v3/todb_test.go
b/traffic_ops/testing/api/v3/todb_test.go
index abec74a..7599d9e 100644
--- a/traffic_ops/testing/api/v3/todb_test.go
+++ b/traffic_ops/testing/api/v3/todb_test.go
@@ -333,6 +333,9 @@ func Teardown(db *sql.DB) error {
DELETE FROM profile;
DELETE FROM parameter;
DELETE FROM profile_parameter;
+ DELETE FROM topology_cachegroup_parents;
+ DELETE FROM topology_cachegroup;
+ DELETE FROM topology;
DELETE FROM cachegroup;
DELETE FROM coordinate;
DELETE FROM type;