Skip to content

Commit

Permalink
Fix #1127
Browse files Browse the repository at this point in the history
  • Loading branch information
wlandau-lilly committed Aug 25, 2023
1 parent e92d559 commit 74baabc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Because of these changes, upgrading to this version of `targets` will unavoidabl
* Retry all cloud REST API calls on HTTP 500 errors with the exponential backoff algorithm from `googleAuthR` (#1112).
* Make cloud temp file instances unique in order to avoid file conflicts with the same target.
* For `format = "url"`, only retry on HTTP 500 error codes.
* Un-deprecate `seconds_interval` and `seconds_timeout` from `tar_resources_url()`, and implement `max_tries` arguments in `tar_resources_aws()` and `tar_resources_gcp()` (#1127).

# targets 1.2.2

Expand Down
1 change: 1 addition & 0 deletions inst/WORDLIST
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ bugfixes
Bugfixes
cancelled
Carpentries
jitter
changelog
Changelog
checksum
Expand Down
5 changes: 3 additions & 2 deletions tests/gcp/test-prefix.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ tar_test("gcp_parquet format returns data frames", {
resources = tar_resources(
gcp = tar_resources_gcp(
bucket = !!bucket_name,
prefix = "custom/prefix"
prefix = "custom/prefix",
max_tries = 20
)
),
format = "parquet",
Expand All @@ -36,7 +37,7 @@ tar_test("gcp_parquet format returns data frames", {
gcp_gcs_exists(
key = "custom/prefix/objects/x",
bucket = bucket_name,
max_tries = 5L
max_tries = 20L
)
)
})

0 comments on commit 74baabc

Please sign in to comment.