Project

General

Profile

Actions

Bug #6024

closed

PG:InsufficientPrivileges error when running tests locally

Added by Adam Price almost 11 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Installer
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

On a fresh development install, running rake test:katello throws

PG::InsufficientPrivilege: ERROR:  permission denied: "RI_ConstraintTrigger_122388" is a system trigger (ActiveRecord::StatementInvalid)

temporary work-around is to set the katello postgres user to superuser


sudo -u postgres psql
alter user katello with superuser;
commit;
\q

# try running the tests again
Actions

Also available in: Atom PDF