Skip to content

Commit

Permalink
disable check for verb cancellation for java
Browse files Browse the repository at this point in the history
  • Loading branch information
matt2e committed Aug 27, 2024
1 parent 825ef90 commit 5dee656
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions backend/controller/pubsub/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,9 +202,11 @@ func TestLeaseFailure(t *testing.T) {
in.QueryRow("ftl", `SELECT state, error FROM async_calls WHERE verb = 'slow.consume' ORDER BY created_at OFFSET 1`, "success", nil),

// confirm that the first call did not keep executing for too long after the lease was expired
in.ExpectError(
in.FileContains(logFilePath, "slept for 5s"),
"Haystack does not contain needle",
in.IfLanguage("go",
in.ExpectError(
in.FileContains(logFilePath, "slept for 5s"),
"Haystack does not contain needle",
),
),
)
}

0 comments on commit 5dee656

Please sign in to comment.