Skip to content

Commit d825156

Browse files
committed
Fixing failing test on 11g XE
1 parent 8ac32d7 commit d825156

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/ut3_user/reporters/test_coverage/test_extended_coverage.pkb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,10 @@ create or replace package body test_extended_coverage is
128128
)
129129
]'
130130
);
131+
131132
--Assert
132-
ut.expect(l_actual).to_be_like(l_expected);
133+
--The below is a workaround for problem with large CLOB like comparison on 11g XE db.
134+
ut.expect(to_char(substr(l_actual,instr(l_actual,'<file path="package body ut3_tester_helper.regex_dummy_cov">'),2000))).to_be_like(l_expected);
133135
ut.expect(l_actual).not_to_be_like(l_not_expected);
134136
ut.expect(l_actual).not_to_be_like('%ut3_tester_helper.test_regex_dummy_cov%');
135137
end;

0 commit comments

Comments
 (0)