Skip to content

Commit b9f4e64

Browse files
vr-varadmaxdml
authored andcommitted
Fix: Update
1 parent a551df1 commit b9f4e64

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
@@ -367,8 +367,10 @@ func TestWorkflowQueues(t *testing.T) {
367367
// Check the workflow completes
368368
dlqCompleteEvent.Set()
369369
for _, handle := range handles {
370-
result, _ := handle.GetResult()
371-
handleStatus, _ := handle.GetStatus()
370+
result, resErr := handle.GetResult()
371+
handleStatus, statusErr := handle.GetStatus()
372+
373+
fmt.Println("DLQ Test Handle Result:", result, "Error:", resErr, "Status:", handleStatus, "StatusErr:", statusErr)
372374

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

0 commit comments

Comments
 (0)