Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
86d4d0a
Initial check-in.
lwasylow Mar 18, 2022
f1f6d71
Tidy up code to make sure we got distinct set of expanded tests.
lwasylow Mar 19, 2022
1454221
Adding extra fields.
lwasylow Mar 23, 2022
ce4df28
Stage 3. Fixing error calls.
lwasylow Mar 29, 2022
273962b
Fixing issue with a non visible tests.
lwasylow Mar 29, 2022
a753e66
Fixing ORA-600
lwasylow Mar 30, 2022
0d8d34d
Cleanup Phase1.
lwasylow Mar 30, 2022
95ddec1
Adding tests.
lwasylow Mar 31, 2022
83dbdaa
Updating documentation.
lwasylow Mar 31, 2022
52c0307
Addresing sonar issues
lwasylow Mar 31, 2022
8f8d257
Extra tests and cleanup of old code.
lwasylow Apr 1, 2022
12be123
Adding extra tests
lwasylow Apr 1, 2022
d5ee6ca
Updating SQL to expand paths and extract suites.
lwasylow Apr 1, 2022
2db8d63
Addressing issue with reconstruct_cache knocking off other levels.
lwasylow Apr 6, 2022
d3396fe
Update tests for random order
lwasylow Apr 7, 2022
02d41a6
Removing a hash function from api into utils package which is more su…
lwasylow Apr 7, 2022
274d80a
Fixing ordering
lwasylow Apr 7, 2022
3937737
Fixing a documentation
lwasylow Apr 7, 2022
9296f38
Fixing indent
lwasylow Apr 7, 2022
6ff7f38
Peer review changes
lwasylow Apr 12, 2022
ee7a98b
Moving a SQL to be more readable.
lwasylow Apr 12, 2022
a53cefa
Apply suggestions from code review
jgebal Apr 13, 2022
011970f
Apply suggestions from code review
jgebal Apr 13, 2022
71e07f9
Merge remote-tracking branch 'origin/develop' into feature/call_tests…
jgebal Apr 15, 2022
221c2de
Address issue of not recognizing a correct nested level of suitepath.
lwasylow Apr 16, 2022
870cfe4
Merge branch 'feature/call_tests_by_part_of_name' of https://github.c…
lwasylow Apr 16, 2022
51439d8
Update documentation
lwasylow Apr 16, 2022
0fc7ff6
Fixing issue where parition by only path caused a duplicate level 1 a…
lwasylow Apr 16, 2022
647b830
Fixed issue with suites getting duplicated when running tests across …
jgebal Apr 17, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixing ordering
  • Loading branch information
lwasylow committed Apr 7, 2022
commit 274d80a3b93cad1401a305509b41df4a34a83215
6 changes: 3 additions & 3 deletions source/core/ut_suite_cache_manager.pkb
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ create or replace package body ut_suite_cache_manager is
Sorting from bottom to top so when we consolidate
we will go in proper order.
For random seed we will add an extra sort that can be null
TODO: Verify object owner join
*/
procedure sort_and_randomize_tests(
a_suite_rows in out ut_suite_cache_rows,
Expand All @@ -281,14 +282,13 @@ create or replace package body ut_suite_cache_manager is
--Recursive member
select t2.path, t2.parent_path,t2.object_owner,t2.line_no,t2.random_seed
from t1,extract_parent_child t2
where t2.parent_path = t1.path
and t1.object_owner = t2.object_owner)
where t2.parent_path = t1.path)
search depth first by line_no desc,random_seed desc nulls last set order1
select value(i) as obj
bulk collect into l_suite_rows
from t1 c
join table(a_suite_rows) i on i.object_owner = c.object_owner and i.path = c.path
order by order1 desc;
order by order1 desc;

a_suite_rows := l_suite_rows;
end;
Expand Down
2 changes: 1 addition & 1 deletion source/core/ut_suite_manager.pkb
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ create or replace package body ut_suite_manager is
pragma inline(get_logical_suite, 'YES');
a_suites(a_suites.last) := get_logical_suite(l_rows, l_idx, l_level,l_prev_level, l_items_at_level );
end if;
if l_prev_level > l_level then
if l_prev_level > l_level then
l_items_at_level(l_prev_level).delete;
end if;
l_prev_level := l_level;
Expand Down