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

Skip to content

Commit 3854502

Browse files
committed
Adding plsql_optimize_level=0 to tests installation.
Adding timing for tests installation and execution.
1 parent c40f837 commit 3854502

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

test/install_and_run_tests.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ git rev-parse && cd "$(git rev-parse --show-cdup)"
88

99
cd test
1010

11-
"$SQLCLI" ${UT3_TESTER}/${UT3_TESTER_PASSWORD}@//${CONNECTION_STR} @install_tests.sql
11+
time "$SQLCLI" ${UT3_TESTER}/${UT3_TESTER_PASSWORD}@//${CONNECTION_STR} @install_tests.sql
1212

1313
cd ..
1414

15-
utPLSQL-cli/bin/utplsql run ${UT3_TESTER}/${UT3_TESTER_PASSWORD}@${CONNECTION_STR} \
15+
time utPLSQL-cli/bin/utplsql run ${UT3_TESTER}/${UT3_TESTER_PASSWORD}@${CONNECTION_STR} \
1616
-source_path=source -owner=ut3 \
1717
-test_path=test -c \
1818
-f=ut_documentation_reporter -o=test_results.log -s \

test/install_tests.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ set define off
22
whenever sqlerror exit failure rollback
33
whenever oserror exit failure rollback
44

5+
alter session set plsql_optimize_level=0;
56
--Install helpers
67
@@helpers/ut_test_table.sql
78
@@helpers/ut_example_tests.pks

0 commit comments

Comments
 (0)