Description
We are using TeamCity to install and uninstall utPLSQL each testing cycle in the application owner schema.
As part of our database build, we are checking for modified objects and I noticed we are incurring leftover objects from the framework after the uninstall script is executed.
Can you please advise if this is a bug or intended behavior? I have attached my modified copy of the uninstall.sql which seems to deal with it.
Additionally: We are on version 3.0.4 of the framework but I couldn't find any bug addressed in the versions since. There also seem to be types leftover when actually executing tests (not captured in the recreation steps below).
After uninstall:
SQL> SELECT OBJECT_TYPE,COUNT(*) FROM USER_OBJECTS
2 GROUP BY OBJECT_TYPE;
SEQUENCE 1
TABLE 3
INDEX 3
To recreate:
- Run user creation script in /source
- install using install.sql
- uninstall using uninstall.sql
- run statement:
SQL> SELECT OBJECT_TYPE,COUNT(*) FROM USER_OBJECTS
2 GROUP BY OBJECT_TYPE;
orig.uninstall.log
uninstall.log
install.log
uninstall.sql.txt