From b8533faf24f2bf5247f28848459f9b7af77e61b3 Mon Sep 17 00:00:00 2001 From: Nick White Date: Mon, 12 Jul 2021 16:47:09 +0100 Subject: Add test for upAndQueue function This involved adding a test queue, so it can be run safely without intefering with the pipeline. --- cmd/getandpurgequeue/main.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cmd') diff --git a/cmd/getandpurgequeue/main.go b/cmd/getandpurgequeue/main.go index 33aef60..e5466d3 100644 --- a/cmd/getandpurgequeue/main.go +++ b/cmd/getandpurgequeue/main.go @@ -25,6 +25,7 @@ Valid queue names: - wipeonly - ocrpage - analyse +- test ` type QueuePipeliner interface { @@ -34,6 +35,7 @@ type QueuePipeliner interface { WipeQueueId() string OCRPageQueueId() string AnalyseQueueId() string + TestQueueId() string } func main() { @@ -63,6 +65,7 @@ func main() { {conn.WipeQueueId(), "wipeonly"}, {conn.OCRPageQueueId(), "ocrpage"}, {conn.AnalyseQueueId(), "analyse"}, + {conn.TestQueueId(), "test"}, } qname := flag.Arg(0) -- cgit v1.2.1-24-ge1ad