Ticket #1162 (new bug)
Pg NCI Test Makes Unportable Connection
Reported by: | chromatic | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | testing | Version: | |
Severity: | medium | Keywords: | |
Cc: | dukeleto | Language: | |
Patch status: | Platform: |
Description
t/library/pg.t fails pretty miserably on this line:
con = cl.'connectdb'() # assume table = user is present
I have PostgreSQL installed, but this assumption doesn't work for me. I've checked in a skip for the remaining tests in this case, as there's no point in running them. (They cause NCI assertion failures, as the NULL connection isn't what NCI expects to pass to the Pg functions.)
This test needs another approach to run on multiple platforms successfully. Setting an environment variable for user name and password might work better.
-- c
Change History
Note: See
TracTickets for help on using
tickets.