Skip to content

Commit

Permalink
Fold
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jun 25, 2023
1 parent 3836247 commit a30087e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion r/tests/testthat/test-gcs.R
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,12 @@ gcs_path <- function(...) {
paste(now, ..., sep = "/")
}
gcs_uri <- function(...) {
template <- "gs://anonymous@%s?scheme=http&endpoint_override=localhost%s%s&retry_limit_seconds=1&project_id=test-project-id"
template <- paste0("gs://anonymous@%s?",
paste("scheme=http",
"endpoint_override=localhost%s%s",
"retry_limit_seconds=1",
"project_id=test-project-id",
sep = "&"))
sprintf(template, gcs_path(...), "%3A", testbench_port)
}

Expand Down

0 comments on commit a30087e

Please sign in to comment.