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 2017/01/10 03:38:57 UTC
[45/50] incubator-trafficcontrol git commit: Add Snapshot db cleanup
for test
Add Snapshot db cleanup for test
Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/a964b50a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/a964b50a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/a964b50a
Branch: refs/heads/master
Commit: a964b50a6a09d4c5ad3f73a90df59a8e58093598
Parents: 0df488b
Author: Jan van Doorn <ja...@cable.comcast.com>
Authored: Thu Dec 29 13:19:43 2016 -0700
Committer: Dan Kirkwood <da...@gmail.com>
Committed: Sun Jan 8 21:05:29 2017 -0700
----------------------------------------------------------------------
traffic_ops/app/lib/Test/IntegrationTestHelper.pm | 1 +
traffic_ops/app/lib/Test/TestHelper.pm | 1 +
2 files changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/a964b50a/traffic_ops/app/lib/Test/IntegrationTestHelper.pm
----------------------------------------------------------------------
diff --git a/traffic_ops/app/lib/Test/IntegrationTestHelper.pm b/traffic_ops/app/lib/Test/IntegrationTestHelper.pm
index f0c1eef..1abf9d2 100644
--- a/traffic_ops/app/lib/Test/IntegrationTestHelper.pm
+++ b/traffic_ops/app/lib/Test/IntegrationTestHelper.pm
@@ -191,6 +191,7 @@ sub unload_core_data {
$self->teardown( $schema, 'PhysLocation' );
$self->teardown( $schema, 'Region' );
$self->teardown( $schema, 'Division' );
+ $self->teardown( $schema, 'Snapshot' );
$self->teardown( $schema, 'Cdn' );
}
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/a964b50a/traffic_ops/app/lib/Test/TestHelper.pm
----------------------------------------------------------------------
diff --git a/traffic_ops/app/lib/Test/TestHelper.pm b/traffic_ops/app/lib/Test/TestHelper.pm
index f5d5756..2b53dcd 100644
--- a/traffic_ops/app/lib/Test/TestHelper.pm
+++ b/traffic_ops/app/lib/Test/TestHelper.pm
@@ -151,6 +151,7 @@ sub unload_core_data {
$self->teardown($schema, 'ProfileParameter');
$self->teardown($schema, 'Type');
$self->teardown($schema, 'Status');
+ $self->teardown( $schema, 'Snapshot' );
$self->teardown($schema, 'Cdn');
}