diff --git a/.github/workflows/test_11g.yml b/.github/workflows/test_11g.yml index 8083a6e2..bdac493f 100644 --- a/.github/workflows/test_11g.yml +++ b/.github/workflows/test_11g.yml @@ -84,6 +84,9 @@ jobs: - name: Create database user run: | ./ci/setup_accounts.sh + - name: Grant execute on DBMS_LOCK for Oracle 11g + run: | + echo "GRANT EXECUTE ON DBMS_LOCK TO hr;" | sqlplus system/${DATABASE_SYS_PASSWORD}@${DATABASE_NAME} - name: Bundle install run: | bundle install --jobs 4 --retry 3 diff --git a/spec/support/unlock_and_setup_hr_user.sql b/spec/support/unlock_and_setup_hr_user.sql index 1cd91154..ee117ddf 100644 --- a/spec/support/unlock_and_setup_hr_user.sql +++ b/spec/support/unlock_and_setup_hr_user.sql @@ -1,4 +1,3 @@ create user hr identified by hr; alter user hr identified by hr account unlock; grant dba to hr; -grant execute on dbms_lock to hr;