Subject: | t/02attribs.t fails because failed ping returns a SQLSTATE code of 22000 |
When I run 'perl -Mblib t/02attribs.t' here it fails with:
...
ok 241 - Database handle attribute "Active" is false after disconnect
ok 242 - Parent in fork test is working properly ("InactiveDestroy" = 0)
ok 243 - Ping fails after the child has exited ("InactiveDestroy" = 0)
not ok 244 - Failed ping returns a SQLSTATE code of 08000
# Failed test 'Failed ping returns a SQLSTATE code of 08000'
# at t/02attribs.t line 1597.
# got: '22000'
# expected: '08000'
ok 245 - pg_ping gives an error code of -2 after the child has exited ("InactiveDestroy" = 0)
ok 246 - Parent in fork test is working properly ("InactiveDestroy" = 1)
ok 247 - Ping works after the child has exited ("InactiveDestroy" = 1)
ok 248 - Successful ping returns a SQLSTATE code of 00000 (empty string)
ok 249 - Statement handle works after forking
# Looks like you failed 1 test of 249.
I'm using perl-5.12.2, DBD-Pg-2.17.1 with statically linked with libqt from postgresql-8.4.4
and a remote test server.