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

Skip to content

Commit 752fccb

Browse files
committed
Checking if Travis build issues are caused by the test or the code change.
1 parent e131471 commit 752fccb

2 files changed

Lines changed: 15 additions & 13 deletions

File tree

test/api/test_ut_run.pkb

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -933,24 +933,25 @@ Failures:%
933933

934934
procedure create_bad_annot is
935935
pragma autonomous_transaction;
936-
begin
937-
execute immediate q'[
938-
create or replace package bad_annotations as
939-
--%suite
936+
begin
937+
execute immediate q'[
938+
create or replace package bad_annotations as
939+
--%suite
940940

941-
--%context
941+
--%context
942942

943-
--%test(invalidspecs)
944-
procedure test1;
943+
--%test(invalidspecs)
944+
procedure test1;
945945

946-
end;]';
946+
end;]';
947947

948-
execute immediate q'[
949-
create or replace package body bad_annotations as
950-
procedure test1 is begin ut.expect(1).to_equal(1); end;
951-
end;]';
948+
execute immediate q'[
949+
create or replace package body bad_annotations as
950+
procedure test1 is begin ut.expect(1).to_equal(1); end;
951+
end;]';
952+
953+
end;
952954

953-
end;
954955
procedure drop_bad_annot is
955956
pragma autonomous_transaction;
956957
begin

test/api/test_ut_run.pks

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ create or replace package test_ut_run is
5656
--%aftertest(drop_failing_beforeall_suite)
5757
procedure run_proc_fail_child_suites;
5858

59+
--%disabled(Checking if disabling the test will help hanging Travis build)
5960
--%test(Savepoints are working properly on distributed transactions - Issue #839)
6061
--%beforetest(create_suite_with_link)
6162
--%aftertest(drop_suite_with_link)

0 commit comments

Comments
 (0)