Update unit tests to match public.metrics_trigger_fn

This commit is contained in:
xbgmsharp
2024-09-04 12:33:46 +02:00
parent 62854a95e0
commit 029e0b3fb6
3 changed files with 3 additions and 3 deletions

View File

@@ -66,7 +66,7 @@ stay_code | 4
eventlogs_view eventlogs_view
-[ RECORD 1 ] -[ RECORD 1 ]
count | 12 count | 11
stats_logs_fn stats_logs_fn
SELECT 1 SELECT 1

View File

@@ -13,7 +13,7 @@ select current_database();
-- Check the number of process pending -- Check the number of process pending
\echo 'Check the number of process pending' \echo 'Check the number of process pending'
-- Should be 22 -- Should be 24
SELECT count(*) as jobs from public.process_queue pq where pq.processed is null; SELECT count(*) as jobs from public.process_queue pq where pq.processed is null;
--set role scheduler --set role scheduler
SELECT public.run_cron_jobs(); SELECT public.run_cron_jobs();

View File

@@ -7,7 +7,7 @@ You are now connected to database "signalk" as user "username".
Expanded display is on. Expanded display is on.
Check the number of process pending Check the number of process pending
-[ RECORD 1 ] -[ RECORD 1 ]
jobs | 26 jobs | 24
-[ RECORD 1 ]-+- -[ RECORD 1 ]-+-
run_cron_jobs | run_cron_jobs |