Skip to content

Commit 3cc1a72

Browse files
committed
Fix: Update
1 parent 94eeecd commit 3cc1a72

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

dbos/queues_test.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -366,8 +366,10 @@ func TestWorkflowQueues(t *testing.T) {
366366
// Check the workflow completes
367367
dlqCompleteEvent.Set()
368368
for _, handle := range handles {
369-
result, _ := handle.GetResult()
370-
handleStatus, _ := handle.GetStatus()
369+
result, resErr := handle.GetResult()
370+
handleStatus, statusErr := handle.GetStatus()
371+
372+
fmt.Println("DLQ Test Handle Result:", result, "Error:", resErr, "Status:", handleStatus, "StatusErr:", statusErr)
371373

372374
if result == nil {
373375
assert.Equal(t, WorkflowStatusMaxRecoveryAttemptsExceeded, handleStatus.Status, "expected workflow to be in DLQ after max retries exceeded")

0 commit comments

Comments
 (0)