diff options
author | Nick White <git@njw.name> | 2021-07-12 16:47:09 +0100 |
---|---|---|
committer | Nick White <git@njw.name> | 2021-07-12 16:47:09 +0100 |
commit | b8533faf24f2bf5247f28848459f9b7af77e61b3 (patch) | |
tree | ddfc1e1382f3baf3b8f84a61281056746fec48a5 /local.go | |
parent | 72e7949b8ce84bb0742b977c3827fda6ca0a752e (diff) |
Add test for upAndQueue function
This involved adding a test queue, so it can be run safely without
intefering with the pipeline.
Diffstat (limited to 'local.go')
-rw-r--r-- | local.go | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -19,6 +19,7 @@ const qidPre = "queuePre" const qidWipe = "queueWipe" const qidOCR = "queueOCR" const qidAnalyse = "queueAnalyse" +const qidTest = "queueTest" const storageId = "storage" // LocalConn is a simple implementation of the pipeliner interface @@ -120,6 +121,10 @@ func (a *LocalConn) AnalyseQueueId() string { return qidAnalyse } +func (a *LocalConn) TestQueueId() string { + return qidTest +} + func (a *LocalConn) WIPStorageId() string { return storageId } |