From 7d2214c4b5e0e9002cd062875c958d887b0ae010 Mon Sep 17 00:00:00 2001 From: wlandau Date: Wed, 29 May 2024 10:21:09 -0400 Subject: [PATCH] enhance test --- tests/local/test-backlog_crash.R | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/local/test-backlog_crash.R b/tests/local/test-backlog_crash.R index d5ddb5d6..be09e274 100644 --- a/tests/local/test-backlog_crash.R +++ b/tests/local/test-backlog_crash.R @@ -26,4 +26,5 @@ test_that("backlogged crashed workers relaunch", { expect_true(controller$wait(seconds_timeout = 20L)) tasks <- controller$collect() expect_equal(sort(tasks$name), sort(c("task-sleep", "task-true"))) + expect_equal(tasks$error, c(NA_character_, NA_character_)) })