jjn1056/Test-DBIx-Class — pull request #12 by lecstor (2011-12-16 04:58:01+00:00)
Title: Fix hide diag tests

oh boy.. not sure that I haven't made a complete mess of this and done a lot of unnecessary work.. maybe I should have just said you can't run these tests with keep_db & base_dir.. 8)

hey, when I do a pull request, are you able to just pull it into a branch or do you have to pull it into master?
I should do a fork & pull request of my own to see how that works..

anyhoo.. as said in the commit message postgresql definitely has lots of issues when trying to use base_dir and parallel processing together.. I haven't looked into that.

---
FATAL: lock file "postmaster.pid" already exists

these errors you saw have been fixed by destroying the SchemaManager object before creating another but posgresql still complains.. not sure if there's something else I need to be doing.. if there is, I can't see it.

(in cleanup) DBIx::Class::Storage::DBI::__ANON__(): DBI Exception: DBD::Pg::db do failed: ERROR: cannot drop table job because other objects depend on it
DETAIL: constraint company_employee_fk_job_id_fkey on table company_employee depends on table job
HINT: Use DROP ... CASCADE to drop the dependent objects too. at /home/edoc/dev/apps/Test-DBIx-Class/lib/Test/DBIx/Class/SchemaManager.pm line 201