Actions
Bug #6024
closedPG:InsufficientPrivileges error when running tests locally
Status:
Resolved
Priority:
Normal
Assignee:
Category:
Installer
Target version:
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