Skip to content

Commit

Permalink
355: Add load_timeout = 30000 to AppDriver::new() calls (#357)
Browse files Browse the repository at this point in the history
part of #355

Signed-off-by: Daniel Sabanes Bove <[email protected]>
  • Loading branch information
danielinteractive authored Feb 13, 2024
1 parent 4c39adb commit 1b8a0cb
Show file tree
Hide file tree
Showing 13 changed files with 24 additions and 10 deletions.
3 changes: 2 additions & 1 deletion tests/testthat/test-adtteSpec.R
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,8 @@ test_that("adtteSpecServer module works as expected in the test app", {
app <- AppDriver$new(
app_dir = test_path("adtteSpec"),
name = "adtteSpecServe",
variant = platform_variant()
variant = platform_variant(),
load_timeout = 30000
)

app$wait_for_idle(timeout = 20000)
Expand Down
4 changes: 3 additions & 1 deletion tests/testthat/test-assaySpec.R
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ test_that("assaySpecServer module works as expected in the test app", {

app <- AppDriver$new(
app_dir = test_path("assaySpec"),
name = "assaySpec"
name = "assaySpec",
variant = platform_variant(),
load_timeout = 30000
)

ns <- module_ns_shiny2(app)
Expand Down
3 changes: 2 additions & 1 deletion tests/testthat/test-barplot.R
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ test_that("barplot module works as expected in the test app", {
app <- AppDriver$new(
app_dir = test_path("barplot"),
name = "barplot",
variant = platform_variant()
variant = platform_variant(),
load_timeout = 30000
)

app$wait_for_idle(timeout = 20000)
Expand Down
3 changes: 2 additions & 1 deletion tests/testthat/test-boxplot.R
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ test_that("boxplot module works as expected in the test app", {
app <- AppDriver$new(
app_dir = test_path("boxplot"),
name = "boxplot",
variant = platform_variant()
variant = platform_variant(),
load_timeout = 30000
)

app$wait_for_idle(timeout = 20000)
Expand Down
3 changes: 2 additions & 1 deletion tests/testthat/test-experimentSpec.R
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ test_that("experimentSpec module works as expected in the test app", {
app <- AppDriver$new(
app_dir = test_path("experimentSpec"),
name = "experimentSpec",
variant = platform_variant()
variant = platform_variant(),
load_timeout = 30000
)

app$wait_for_idle(timeout = 20000)
Expand Down
3 changes: 2 additions & 1 deletion tests/testthat/test-forest.R
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ test_that("forest_tte module works as expected in the test app", {
app <- AppDriver$new(
app_dir = test_path("forest_tte"),
name = "forest_tte",
variant = platform_variant()
variant = platform_variant(),
load_timeout = 30000
)

app$wait_for_idle(timeout = 20000)
Expand Down
3 changes: 2 additions & 1 deletion tests/testthat/test-geneSpec.R
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ test_that("geneSpec module works as expected in the test app", {
app <- AppDriver$new(
app_dir = test_path("geneSpec"),
name = "geneSpec",
variant = platform_variant()
variant = platform_variant(),
load_timeout = 30000
)

app$wait_for_idle(timeout = 20000)
Expand Down
3 changes: 2 additions & 1 deletion tests/testthat/test-km.R
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ test_that("km module works as expected in the test app", {
app <- AppDriver$new(
app_dir = test_path("km"),
name = "km",
variant = platform_variant()
variant = platform_variant(),
load_timeout = 30000
)

app$wait_for_idle(timeout = 20000)
Expand Down
1 change: 1 addition & 0 deletions tests/testthat/test-pca.R
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ test_that("pca module works as expected in the test app", {
app_dir = test_path("pca"),
name = "pca",
variant = platform_variant(),
load_timeout = 30000,
seed = default_app_seed
)

Expand Down
3 changes: 2 additions & 1 deletion tests/testthat/test-quality.R
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ test_that("quality module works as expected in the test app", {
app <- AppDriver$new(
app_dir = test_path("quality"),
name = "quality",
variant = platform_variant()
variant = platform_variant(),
load_timeout = 30000
)

app$wait_for_idle(timeout = 20000)
Expand Down
3 changes: 2 additions & 1 deletion tests/testthat/test-sampleVarSpec.R
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,8 @@ test_that("sampleVarSpec module works as expected in the test app", {
app <- AppDriver$new(
app_dir = test_path("sampleVarSpec"),
name = "sampleVarSpec",
variant = platform_variant()
variant = platform_variant(),
load_timeout = 30000
)

app$wait_for_idle(timeout = 20000)
Expand Down
1 change: 1 addition & 0 deletions tests/testthat/test-scatterplot.R
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ test_that("scatterplot module works as expected in the test app", {
app_dir = test_path("scatterplot"),
name = "scatterplot",
variant = platform_variant(),
load_timeout = 30000,
seed = default_app_seed
)

Expand Down
1 change: 1 addition & 0 deletions tests/testthat/test-volcanoplot.R
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ test_that("volcanoplot module works as expected in the test app", {
app_dir = test_path("volcanoplot"),
name = "volcanoplot",
variant = platform_variant(),
load_timeout = 30000,
seed = default_app_seed
)

Expand Down

0 comments on commit 1b8a0cb

Please sign in to comment.