From 21076cf0037da0528963ae502adb8f44603b766c Mon Sep 17 00:00:00 2001 From: m7pr Date: Mon, 24 Nov 2025 16:16:16 +0100 Subject: [PATCH] increase timeouts --- tests/testthat/test-shinytest2-tm_a_pca.R | 3 ++- tests/testthat/test-shinytest2-tm_a_regression.R | 3 ++- tests/testthat/test-shinytest2-tm_data_table.R | 2 +- tests/testthat/test-shinytest2-tm_file_viewer.R | 2 +- tests/testthat/test-shinytest2-tm_front_page.R | 2 +- tests/testthat/test-shinytest2-tm_g_association.R | 3 ++- tests/testthat/test-shinytest2-tm_g_bivariate.R | 3 ++- tests/testthat/test-shinytest2-tm_g_distribution.R | 3 ++- tests/testthat/test-shinytest2-tm_g_response.R | 3 ++- tests/testthat/test-shinytest2-tm_g_scatterplot.R | 3 ++- tests/testthat/test-shinytest2-tm_g_scatterplotmatrix.R | 2 +- tests/testthat/test-shinytest2-tm_outliers.R | 3 ++- tests/testthat/test-shinytest2-tm_t_crosstable.R | 2 +- 13 files changed, 21 insertions(+), 13 deletions(-) diff --git a/tests/testthat/test-shinytest2-tm_a_pca.R b/tests/testthat/test-shinytest2-tm_a_pca.R index 11cf5248a..951babdab 100644 --- a/tests/testthat/test-shinytest2-tm_a_pca.R +++ b/tests/testthat/test-shinytest2-tm_a_pca.R @@ -29,7 +29,8 @@ app_driver_tm_a_pca <- function() { pre_output = shiny::tags$div(id = "unique_id_pre", "A pre output"), post_output = shiny::tags$div(id = "unique_id_post", "A post output") ) - ) + ), + timeout = 10000 ) } diff --git a/tests/testthat/test-shinytest2-tm_a_regression.R b/tests/testthat/test-shinytest2-tm_a_regression.R index 32493233e..28c419f32 100644 --- a/tests/testthat/test-shinytest2-tm_a_regression.R +++ b/tests/testthat/test-shinytest2-tm_a_regression.R @@ -43,7 +43,8 @@ app_driver_tm_a_regression <- function() { labs = list(subtitle = "Plot generated by Regression Module") ) ) - ) + ), + timeout = 10000 ) } diff --git a/tests/testthat/test-shinytest2-tm_data_table.R b/tests/testthat/test-shinytest2-tm_data_table.R index 5e64d7058..a8413d046 100644 --- a/tests/testthat/test-shinytest2-tm_data_table.R +++ b/tests/testthat/test-shinytest2-tm_data_table.R @@ -18,7 +18,7 @@ app_driver_tm_data_table <- function() { post_output = NULL ) ), - timeout = 3000 + timeout = 10000 ) } diff --git a/tests/testthat/test-shinytest2-tm_file_viewer.R b/tests/testthat/test-shinytest2-tm_file_viewer.R index a79d982e9..a681f1a8b 100644 --- a/tests/testthat/test-shinytest2-tm_file_viewer.R +++ b/tests/testthat/test-shinytest2-tm_file_viewer.R @@ -14,7 +14,7 @@ app_driver_tm_file_viewer <- function() { ) ) ), - timeout = 3000 + timeout = 10000 ) } diff --git a/tests/testthat/test-shinytest2-tm_front_page.R b/tests/testthat/test-shinytest2-tm_front_page.R index f801c5d47..7bf8f2b3d 100644 --- a/tests/testthat/test-shinytest2-tm_front_page.R +++ b/tests/testthat/test-shinytest2-tm_front_page.R @@ -19,7 +19,7 @@ app_driver_tm_front_page <- function() { footnotes = "This is a footnote" ) ), - timeout = 3000 + timeout = 10000 ) } diff --git a/tests/testthat/test-shinytest2-tm_g_association.R b/tests/testthat/test-shinytest2-tm_g_association.R index af61baee5..dd6133624 100644 --- a/tests/testthat/test-shinytest2-tm_g_association.R +++ b/tests/testthat/test-shinytest2-tm_g_association.R @@ -42,7 +42,8 @@ app_driver_tm_g_association <- function() { labs = list(subtitle = "Plot generated by Association Module") ) ) - ) + ), + timeout = 10000 ) } diff --git a/tests/testthat/test-shinytest2-tm_g_bivariate.R b/tests/testthat/test-shinytest2-tm_g_bivariate.R index 0bef08233..a87cd518b 100644 --- a/tests/testthat/test-shinytest2-tm_g_bivariate.R +++ b/tests/testthat/test-shinytest2-tm_g_bivariate.R @@ -82,7 +82,8 @@ app_driver_tm_g_bivariate <- function() { ggtheme = "classic", swap_axes = TRUE ) - ) + ), + timeout = 10000 ) } diff --git a/tests/testthat/test-shinytest2-tm_g_distribution.R b/tests/testthat/test-shinytest2-tm_g_distribution.R index 64f294d4a..7b1967236 100644 --- a/tests/testthat/test-shinytest2-tm_g_distribution.R +++ b/tests/testthat/test-shinytest2-tm_g_distribution.R @@ -42,7 +42,8 @@ app_driver_tm_g_distribution <- function() { freq = TRUE, bins = 36, ) - ) + ), + timeout = 10000 ) } diff --git a/tests/testthat/test-shinytest2-tm_g_response.R b/tests/testthat/test-shinytest2-tm_g_response.R index 4093bca6f..37cb28568 100644 --- a/tests/testthat/test-shinytest2-tm_g_response.R +++ b/tests/testthat/test-shinytest2-tm_g_response.R @@ -37,7 +37,8 @@ app_driver_tm_g_response <- function() { ) ) ) - ) + ), + timeout = 10000 ) } diff --git a/tests/testthat/test-shinytest2-tm_g_scatterplot.R b/tests/testthat/test-shinytest2-tm_g_scatterplot.R index 07bce5ee4..45b554c40 100644 --- a/tests/testthat/test-shinytest2-tm_g_scatterplot.R +++ b/tests/testthat/test-shinytest2-tm_g_scatterplot.R @@ -81,7 +81,8 @@ app_driver_tm_g_scatterplot <- function() { ggtheme = "classic", max_deg = 6 ) - ) + ), + timeout = 10000 ) } diff --git a/tests/testthat/test-shinytest2-tm_g_scatterplotmatrix.R b/tests/testthat/test-shinytest2-tm_g_scatterplotmatrix.R index 918cbf6da..b31c82a40 100644 --- a/tests/testthat/test-shinytest2-tm_g_scatterplotmatrix.R +++ b/tests/testthat/test-shinytest2-tm_g_scatterplotmatrix.R @@ -42,7 +42,7 @@ app_driver_tm_g_scatterplotmatrix <- function() { # nolint: object_length_linter post_output = NULL ) ), - timeout = 3000 + timeout = 10000 ) } diff --git a/tests/testthat/test-shinytest2-tm_outliers.R b/tests/testthat/test-shinytest2-tm_outliers.R index bdd83a5fd..e1187e5b5 100644 --- a/tests/testthat/test-shinytest2-tm_outliers.R +++ b/tests/testthat/test-shinytest2-tm_outliers.R @@ -46,7 +46,8 @@ app_driver_tm_outlier <- function() { ) ) ) - ) + ), + timeout = 10000 ) } diff --git a/tests/testthat/test-shinytest2-tm_t_crosstable.R b/tests/testthat/test-shinytest2-tm_t_crosstable.R index 7670d03e0..0fdf17e62 100644 --- a/tests/testthat/test-shinytest2-tm_t_crosstable.R +++ b/tests/testthat/test-shinytest2-tm_t_crosstable.R @@ -41,7 +41,7 @@ app_driver_tm_t_crosstable <- function() { ) ) ), - timeout = 3000 + timeout = 10000 ) }