Opened 4 years ago

Last modified 3 years ago

#4250 new defect

FreeBSD10.1: PgSqlOpenTest.OpenDatabase unit test fails with Posgres 9.4.5

Reported by: marcin Owned by:
Priority: medium Milestone: Outstanding Tasks
Component: database-all Version: git
Keywords: Cc:
CVSS Scoring: Parent Tickets:
Sensitive: no Defect Severity: Low
Sub-Project: DHCP Feature Depending on Ticket:
Estimated Difficulty: 0 Add Hours to Ticket: 0
Total Hours: 0 Internal?: no


I am building Kea on FreeBSD10.2 with clang:

$ clang --version
FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
Target: x86_64-unknown-freebsd10.2
Thread model: posix

and PostgreSQL:

$ psql --version
psql (PostgreSQL) 9.4.5

Kea is built with the --with-dhcp-pgsql switch.

The PgSqlOpenTest.OpenDatabase test fails with the following error log:

[ RUN      ] PgSqlOpenTest.OpenDatabase
WARNING:  there is no transaction in progress Failure
Expected: LeaseMgrFactory::create(connectionString( VALID_TYPE, VALID_NAME, VALID_HOST, VALID_USER, INVALID_PASSWORD)) throws an exception of type DbOpenError.
  Actual: it throws nothing.
[  FAILED  ] PgSqlOpenTest.OpenDatabase (541 ms)


Change History (2)

comment:1 Changed 4 years ago by tomek

  • Milestone changed from Kea-proposed to Outstanding Tasks

Moving all bugs to outstanding, we'll triage them with other defects.

comment:2 Changed 3 years ago by tomek

  • Component changed from Unclassified to dhcpdb
Note: See TracTickets for help on using tickets.