wjones127 commented on code in PR #13601:
URL: https://github.com/apache/arrow/pull/13601#discussion_r924583352
##########
r/tests/testthat/test-filesystem.R:
##########
@@ -190,3 +190,18 @@ test_that("s3_bucket", {
skip_on_os("windows") # FIXME
expect_identical(bucket$base_path, "ursa-labs-r-test/")
})
+
+test_that("gs_bucket", {
+ skip_on_cran()
+ skip_if_not_available("gcs")
+ skip_if_offline()
+ bucket <- gs_bucket("voltrondata-labs-datasets")
+ expect_r6_class(bucket, "SubTreeFileSystem")
+ expect_r6_class(bucket$base_fs, "GcsFileSystem")
+ expect_identical(
+ capture.output(print(bucket)),
+ "SubTreeFileSystem: gs://voltrondata-labs-datasets/"
+ )
+ skip_on_os("windows") # FIXME
Review Comment:
This was copied over from the S3 tests. I'm not sure what happens, but I can
try and see.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]