From 32fc13a35526589c52be15e4c40b9f9c8d3eab47 Mon Sep 17 00:00:00 2001 From: wlandau Date: Fri, 2 Aug 2024 12:37:11 -0400 Subject: [PATCH] fix test --- tests/local/test-backlog_tasks_max.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/local/test-backlog_tasks_max.R b/tests/local/test-backlog_tasks_max.R index 351b845d..e622c9fb 100644 --- a/tests/local/test-backlog_tasks_max.R +++ b/tests/local/test-backlog_tasks_max.R @@ -62,6 +62,6 @@ test_that("backlog of tasks completes with finite tasks_max", { testthat::expect_equal(length(controller$tasks), 0L) testthat::expect_equal(sum(controller$launcher$workers$assigned), n_tasks) testthat::expect_equal(sum(controller$launcher$workers$complete), n_tasks) - expect_gt(length(readLines(log), 2 * time["elapsed"])) + expect_gt(length(readLines(log)), 2 * time["elapsed"]) expect_lt(length(readLines(log)), time["elapsed"] * 4 + 2) })