Skip to content

Commit ca44c5d

Browse files
vr-varadmaxdml
authored andcommitted
Fix: Update
1 parent 1d30808 commit ca44c5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dbos/queues_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ func TestWorkflowQueues(t *testing.T) {
372372
var dbosErr *DBOSError
373373
require.ErrorAs(t, resultErr, &dbosErr, "expected error to be of type *DBOSError, got %T", resultErr)
374374

375-
assert.Equal(t, WorkflowStatusMaxRecoveryAttemptsExceeded, dbosErr.Code, "expected workflow to be in DLQ after max retries exceeded")
375+
assert.Equal(t, DBOSErrorCode(13), dbosErr.Code, "expected workflow to be in DLQ after max retries exceeded")
376376
}
377377
dlqCompleteEvent.Set()
378378

0 commit comments

Comments
 (0)