Closed mpiannucci closed 1 month ago
Can we make a test? It will need to run in an async func, with an async backend (http?) - can we guarantee something that won't disappear?
The async function part is easy, are you ok with pointing to s3 data via http similar to the kerchunk tests? Thats the easiest thing i can think of doing for now
I suppose we can reconsider if it starts to fail. The download should be small though (part of a file only), as the GHA CI runners are pretty weak.
Okay I have a test added and working well!
@martindurant do you have any idea why this test is failing? It works fine locally...
I also ran it successfully locally. Is there a chance the server explicitly won't take connections from CI?
You might try
fs={"https": fss}
(because the default protocol is "http", so maybe another filesystem instance is being silently created)
Or, perhaps passing remote_protocol
. Actually, it is https? I might have been confused.
Let see if that works... maybe http was blocked
Well i am stumped
@mpiannucci : so now it passes. I don't know why, but an http FS must have leaked from another (async) test case. Probably worth tracking that down at some point, or to make a FS that lasts all session or make sure that when an FS cleans itself, it also gets removed from the instance cache.
Thanks for the help!
Adds missing return in
_cat_file
method ofReferenceFileSystem
Im not sure how to best test this because i dont think any of the tests from test_reference use an async filesystem and s3 maybe shouldnt be tested here?
Closes https://github.com/fsspec/filesystem_spec/issues/1735