File: shovey_insert_update.sql

package info (click to toggle)
goiardi 0.11.10-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,708 kB
  • sloc: sql: 4,994; makefile: 156; sh: 95; python: 30
file content (10 lines) | stat: -rw-r--r-- 480 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
-- Verify shovey_insert_update

BEGIN;

SELECT goiardi.merge_shoveys('7c160544-460f-444f-bdbd-3f51f26bd006', 'moo', 'running', 10000, '100%');
SELECT id FROM goiardi.shoveys WHERE run_id = '7c160544-460f-444f-bdbd-3f51f26bd006';
SELECT goiardi.merge_shovey_runs('7c160544-460f-444f-bdbd-3f51f26bd006', 'moomer', 'running', NOW(), NOW(), 'werp', 0);
SELECT id FROM goiardi.shovey_runs WHERE shovey_uuid = '7c160544-460f-444f-bdbd-3f51f26bd006' AND node_name = 'moomer';

ROLLBACK;