Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Prev Previous commit
Next Next commit
Adding plsql_optimize_level=0 to tests installation.
Adding timing for tests installation and execution.
  • Loading branch information
jgebal committed Jul 29, 2018
commit 385450200ecfe2546f808539e00bf683e5e3023e
4 changes: 2 additions & 2 deletions test/install_and_run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ git rev-parse && cd "$(git rev-parse --show-cdup)"

cd test

"$SQLCLI" ${UT3_TESTER}/${UT3_TESTER_PASSWORD}@//${CONNECTION_STR} @install_tests.sql
time "$SQLCLI" ${UT3_TESTER}/${UT3_TESTER_PASSWORD}@//${CONNECTION_STR} @install_tests.sql

cd ..

utPLSQL-cli/bin/utplsql run ${UT3_TESTER}/${UT3_TESTER_PASSWORD}@${CONNECTION_STR} \
time utPLSQL-cli/bin/utplsql run ${UT3_TESTER}/${UT3_TESTER_PASSWORD}@${CONNECTION_STR} \
-source_path=source -owner=ut3 \
-test_path=test -c \
-f=ut_documentation_reporter -o=test_results.log -s \
Expand Down
1 change: 1 addition & 0 deletions test/install_tests.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ set define off
whenever sqlerror exit failure rollback
whenever oserror exit failure rollback

alter session set plsql_optimize_level=0;
--Install helpers
@@helpers/ut_test_table.sql
@@helpers/ut_example_tests.pks
Expand Down