Skip to content

Commit

Permalink
test gcp with qs2
Browse files Browse the repository at this point in the history
  • Loading branch information
wlandau committed Dec 24, 2024
1 parent 260d059 commit 0ec9122
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/gcp/test-class_gcp_qs.R
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ tar_test("gcp_qs format data gets stored", {
file = tmp,
max_tries = 5L
)
expect_equal(qs::qread(tmp), "x_value")
expect_equal(qs2::qs_read(tmp), "x_value")
})

tar_test("gcp_qs format data gets stored with worker storage", {
Expand Down Expand Up @@ -101,7 +101,7 @@ tar_test("gcp_qs format data gets stored with worker storage", {
file = tmp,
max_tries = 5L
)
expect_equal(qs::qread(tmp), "x_value")
expect_equal(qs2::qs_read(tmp), "x_value")
})

tar_test("gcp_qs format invalidation", {
Expand Down Expand Up @@ -268,7 +268,7 @@ tar_test("gcp_qs format with an alternative data store", {
file = tmp,
max_tries = 5L
)
expect_equal(qs::qread(tmp), "x_value")
expect_equal(qs2::qs_read(tmp), "x_value")
})

tar_test("gcp_qs format works with storage = \"none\"", {
Expand All @@ -289,7 +289,7 @@ tar_test("gcp_qs format works with storage = \"none\"", {
list(
tar_target(
x,
qs::qsave("x_value", tar_path_target(create_dir = TRUE)),
qs2::qs_save("x_value", tar_path_target(create_dir = TRUE)),
format = "qs",
repository = "gcp",
storage = "none"
Expand Down Expand Up @@ -325,7 +325,7 @@ tar_test("gcp_qs format works with storage = \"none\"", {
file = tmp,
max_tries = 5L
)
expect_equal(qs::qread(tmp), "x_value")
expect_equal(qs2::qs_read(tmp), "x_value")
})

tar_test("gcp_qs nonexistent bucket", {
Expand Down

0 comments on commit 0ec9122

Please sign in to comment.