paleolimbot commented on code in PR #13542:
URL: https://github.com/apache/arrow/pull/13542#discussion_r926934595


##########
r/tests/testthat/test-gcs.R:
##########
@@ -58,3 +58,53 @@ test_that("GcsFileSystem$create() input validation", {
     'Invalid options for GcsFileSystem: "role_arn"'
   )
 })
+
+if (system('python -c "import testbench"') == 0) {
+  testbench_port <- Sys.getenv("TESTBENCH_PORT", "9001")
+
+  pid_minio <- sys::exec_background("python", c("-m", "testbench", "--port", 
testbench_port),
+    std_out = FALSE,
+    std_err = FALSE # TODO: is there a good place to send output?
+  )
+  withr::defer(tools::pskill(pid_minio))

Review Comment:
   Understood! Use it!



-- 
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: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to