wjones127 commented on code in PR #13542:
URL: https://github.com/apache/arrow/pull/13542#discussion_r918547853
##########
ci/scripts/r_test.sh:
##########
@@ -100,6 +100,12 @@ SCRIPT="as_cran <-
!identical(tolower(Sys.getenv('NOT_CRAN')), 'true')
pid_minio <- sys::exec_background('minio', c('server', minio_dir))
on.exit(tools::pskill(pid_minio), add = TRUE)
}
+
+ if (requireNamespace('reticulate', quietly = TRUE) &&
reticulate::py_module_available('testbench')) {
+ message('Running testbench for GCS tests (if build supports them)')
+ pid_minio <- sys::exec_background('python', c('-m', 'testbench',
'--port', '9001'))
+ on.exit(tools::pskill(pid_minio), add = TRUE)
Review Comment:
```suggestion
pid_testbench <- sys::exec_background('python', c('-m', 'testbench',
'--port', '9001'))
on.exit(tools::pskill(pid_testbench), add = TRUE)
```
--
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]