Closed
Description
In ut_suite_item.tpb test executable object execute like
l_completed_without_errors := self.do_execute();
It calls ut_executable.do_execute witch runs ut procedure as a cursor with dinamic SQL without error raise. As I can see in commects if ORA-04068, ORA-04061 will happens it will be caught and processed.
During test execution I got error ORA-02063 with ORA-00933 tring to execute something bad on other BD via DBlink.
In case of this all my ut-session got failed and test exections stoped.
I'v added execption handler to ut_suite_item.do_execute and now it's working and logging all errors correctly.
So It looks like this now:
final member procedure do_execute(self in out nocopy ut_suite_item) is
l_completed_without_errors boolean;
BEGIN
BEGIN
l_completed_without_errors := self.do_execute();
EXCEPTION
WHEN OTHERS THEN
NULL;
END;
end;
I think there is 2 ways to avoid this bug in the future
- Add handlers to more errors in ut_executable.do_execute
- Make this execution noexception on ut_suite_item level