You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by mi...@apache.org on 2020/07/22 16:52:42 UTC

[trafficcontrol] branch master updated: Include topologies tables in the list of tables to delete before running API tests (#4902)

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 <za...@zrhoffman.net>
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;