@@ -106,7 +106,7 @@ func Test_TaskQueue(t *testing.T) {
106106
107107 ctx := context .Background ()
108108
109- q , err := newTaskQueue [foo ](context .Background (), client , "prefix" , taskType )
109+ q , err := newTaskQueue [foo ](context .Background (), client , "prefix" , taskType , "" )
110110 require .NoError (t , err )
111111
112112 _ , err = client .Pipelined (ctx , func (p redis.Pipeliner ) error {
@@ -135,7 +135,7 @@ func Test_TaskQueue(t *testing.T) {
135135 })
136136 require .NoError (t , err )
137137
138- q2 , _ := newTaskQueue [any ](context .Background (), client , "prefix" , taskType )
138+ q2 , _ := newTaskQueue [any ](context .Background (), client , "prefix" , taskType , "" )
139139 require .NoError (t , err )
140140
141141 // Dequeue using second worker
@@ -148,7 +148,7 @@ func Test_TaskQueue(t *testing.T) {
148148 {
149149 name : "Complete removes task" ,
150150 f : func (t * testing.T , q * taskQueue [any ]) {
151- q2 , _ := newTaskQueue [any ](context .Background (), client , "prefix" , taskType )
151+ q2 , _ := newTaskQueue [any ](context .Background (), client , "prefix" , taskType , "" )
152152
153153 ctx := context .Background ()
154154
@@ -182,7 +182,7 @@ func Test_TaskQueue(t *testing.T) {
182182 type taskData struct {
183183 Count int `json:"count"`
184184 }
185- q , _ := newTaskQueue [taskData ](context .Background (), client , "prefix" , taskType )
185+ q , _ := newTaskQueue [taskData ](context .Background (), client , "prefix" , taskType , "" )
186186
187187 ctx := context .Background ()
188188
@@ -193,7 +193,7 @@ func Test_TaskQueue(t *testing.T) {
193193 })
194194 require .NoError (t , err )
195195
196- q2 , _ := newTaskQueue [taskData ](context .Background (), client , "prefix" , taskType )
196+ q2 , _ := newTaskQueue [taskData ](context .Background (), client , "prefix" , taskType , "" )
197197 require .NoError (t , err )
198198
199199 task , err := q2 .Dequeue (ctx , client , []workflow.Queue {workflow .QueueDefault }, lockTimeout , blockTimeout )
@@ -221,7 +221,7 @@ func Test_TaskQueue(t *testing.T) {
221221 require .NoError (t , err )
222222
223223 // Create second worker (with different name)
224- q2 , _ := newTaskQueue [any ](context .Background (), client , "prefix" , taskType )
224+ q2 , _ := newTaskQueue [any ](context .Background (), client , "prefix" , taskType , "" )
225225 require .NoError (t , err )
226226
227227 task , err := q2 .Dequeue (ctx , client , []workflow.Queue {workflow .QueueDefault }, lockTimeout , blockTimeout )
@@ -281,7 +281,7 @@ func Test_TaskQueue(t *testing.T) {
281281
282282 ctx := context .Background ()
283283
284- q , err := newTaskQueue [any ](ctx , client , "prefix" , taskType )
284+ q , err := newTaskQueue [any ](ctx , client , "prefix" , taskType , "" )
285285 require .NoError (t , err )
286286
287287 q .Prepare (ctx , client , []workflow.Queue {workflow .QueueDefault })
0 commit comments