Skip to content

Commit f07856c

Browse files
committed
Fix unit tests
1 parent 4ddad2b commit f07856c

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

tests/integration/targets/test_oracle_grant/tasks/adb_checks_issue6.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
- name: Define objects and privileges for DBCENTER_CLIENTE
1616
set_fact:
17-
dbcenter_cliente_objects:
17+
dbcenter_cliente_objects:
1818
- { owner: "SYS", object: "V_$SESSION", privilege: "SELECT" }
1919
#- { owner: "SYS", object: "DBCENTER_FS_INSTANCIA", privilege: "SELECT" }
2020
#- { owner: "AUDSYS", object: "AUD$UNIFIED", privilege: "SELECT" }
@@ -49,7 +49,7 @@
4949
- { owner: "SYS", object: "DBA_SCHEDULER_JOBS", privilege: "SELECT" }
5050
- { owner: "SYS", object: "DBA_REGISTRY", privilege: "SELECT" }
5151
- { owner: "SYS", object: "V_$CONTROLFILE", privilege: "SELECT" }
52-
52+
5353
- name: "user u_foo tear down"
5454
oracle_user:
5555
<<: *con_param
@@ -98,10 +98,10 @@
9898
grant_mode: "exact"
9999
object_privs:
100100
- "SELECT:V$SESSION"
101-
- "SELECT:AUDSYS.AUD$UNIFIED" # this object is not visible in ALL_OBEJCTS
102-
- "SELECT:AUDSYS.UNIFIED_AUDIT_TRAIL"
101+
#- "SELECT:AUDSYS.AUD$UNIFIED" # this object is not visible in ALL_OBEJCTS
102+
#- "SELECT:AUDSYS.UNIFIED_AUDIT_TRAIL"
103103
- "EXECUTE:DBMS_AUDIT_MGMT"
104-
- "SELECT:DBA_AUDIT_MGMT_LAST_ARCH_TS"
104+
#- "SELECT:DBA_AUDIT_MGMT_LAST_ARCH_TS"
105105
- "SELECT:V$DATABASE"
106106
- "SELECT:DBA_DATA_FILES"
107107
- "SELECT:DBA_DB_LINKS"
@@ -123,6 +123,5 @@
123123
- "SELECT:V$PARAMETER"
124124
- "SELECT:SYS.V_$PGASTAT"
125125
- "SELECT:SYS.V_$SGA"
126-
- "SELECT:SYS.USER$"
127126
- "select:v$memory_dynamic_components"
128127
- "select:v$sga_dynamic_components"

tests/integration/targets/test_oracle_grant/tasks/adb_checks_object.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
mode: "{{ mode }}"
1313
oracle_home: "{{ oracle_home }}"
1414

15+
- name: 'Connection paramters - see or use integration_config.yml.template'
16+
debug:
17+
var: connection_parameters
18+
1519
- name: "user u_foo tear down"
1620
oracle_user:
1721
<<: *con_param

0 commit comments

Comments
 (0)