gmcrocetti commented on code in PR #46078:
URL: https://github.com/apache/arrow/pull/46078#discussion_r2055003856


##########
python/pyarrow/tests/test_fs.py:
##########
@@ -1230,7 +1230,8 @@ def test_s3_options(pickle_module):
     assert pickle_module.loads(pickle_module.dumps(fs2)) == fs2
     assert fs2 != fs
 
-    fs = S3FileSystem(allow_bucket_creation=True, allow_bucket_deletion=True)
+    fs = S3FileSystem(allow_bucket_creation=True, allow_bucket_deletion=True,
+                      allow_delayed_open=True)

Review Comment:
   Hello @AlenkaF ,
   Thanks for the super fast review.
   
   > Could we have this in a separate S3FileSystem creation and a check?
   
   Yes, for sure.
   
   > Thinking it would be also nice to test for a non-existent bucket. Not sure 
if we have any existing tests that could be used though.
   
   Is this really required ? Isn't this behavior being tested at the C++ 
[layer](https://github.com/apache/arrow/blob/main/cpp/src/arrow/filesystem/s3fs_test.cc)
 ? Should we test it again on Python or _just_ make sure that the C++ API is 
built correctly ( pickle.loads/pickle.dumps) ?



-- 
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