Closed
Description
I'm having a bit of difficulty with the real-time reporter in 3.1.7. I'm taking the default timeout value and it's timing out at 60 seconds every time. In 3.1.6 it was working fine. I'm not sure if the issue is in my code or the framework, but here's what I have. Using the demo on YouTube and .\test\core\reporters\test_realtime_reporter.pkb from 3.1.6 as a guide I came up with the following.
Is this a fault in the framework or in my SQL? Thanks in advance.
Producer
DECLARE
l_reporter_0 ut3.ut_realtime_reporter := ut3.ut_realtime_reporter ();
l_reporters ut_reporters;
l_run_res NUMBER;
e_run_failure EXCEPTION;
PRAGMA EXCEPTION_INIT (e_run_failure, -20213);
BEGIN
l_reporter_0.set_reporter_id ('10CDDEA461D24BE38CF9606C16B693AE');
l_reporters := ut_reporters (l_reporter_0);
BEGIN
ut_runner.run (
a_paths =>
ut_varchar2_list ('MSTASZEW.REALTIME_REPORTING_SUITE'),
a_reporters => l_reporters,
a_fail_on_errors => TRUE,
a_coverage_schemes => NULL,
a_include_objects => NULL,
a_exclude_objects => NULL);
l_run_res := 1;
EXCEPTION
WHEN e_run_failure
THEN
l_run_res := 0;
END;
END;
Consumer
SELECT item_type, text
FROM TABLE (
ut_output_table_buffer ('10CDDEA461D24BE38CF9606C16B693AE').get_lines ())
WHERE TRIM (text) IS NOT NULL AND item_type IS NOT NULL;