You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by "Dan Kirkwood (JIRA)" <ji...@apache.org> on 2017/05/01 20:15:04 UTC

[jira] [Resolved] (TC-258) setup_kabletown.pl needs to be updated

     [ https://issues.apache.org/jira/browse/TC-258?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Kirkwood resolved TC-258.
-----------------------------
    Resolution: Fixed
      Assignee: Dan Kirkwood

> setup_kabletown.pl needs to be updated
> --------------------------------------
>
>                 Key: TC-258
>                 URL: https://issues.apache.org/jira/browse/TC-258
>             Project: Traffic Control
>          Issue Type: Bug
>          Components: Traffic Ops
>    Affects Versions: 2.0.0
>            Reporter: Dan Kirkwood
>            Assignee: Dan Kirkwood
>
> app/bin/db/setup_kabletown.pl loads data from app/lib/Fixtures (via lib/Test/IntegrationHelper.pm), but appears to be out of date.   Several issues:
> - sub teardown {} tries to delete all rows from a table,  but doesn't succeed many times with postgresql -- possibly because of foreign key constraints. Suggest using a TRUNCATE table CASCADE sql command rather than $resultset->delete_all
> - sub unload_core_data {} runs teardown on a bunch of tables, but doesn't list all of them.   May be leftover data.
> - new unique constraints are violated by parameter and profile_parameter data in the Fixtures.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)