This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch v3-1-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/v3-1-test by this push:
new fcab0090a75 [v3-1-test] Fix race condition in test_execute_wildcard
for LocalFilesystemToGCSOperator (#58613) (#58617)
fcab0090a75 is described below
commit fcab0090a75a4e4ab26ecd71f07bb1829e1f9c74
Author: Jarek Potiuk <[email protected]>
AuthorDate: Mon Nov 24 17:38:10 2025 +0100
[v3-1-test] Fix race condition in test_execute_wildcard for
LocalFilesystemToGCSOperator (#58613) (#58617)
(cherry picked from commit a4965b8ca026f6f81afb070e981478001b3734fd)
Co-authored-by: Ankit Chaurasia <[email protected]>
---
providers/google/tests/unit/google/cloud/transfers/test_local_to_gcs.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/providers/google/tests/unit/google/cloud/transfers/test_local_to_gcs.py
b/providers/google/tests/unit/google/cloud/transfers/test_local_to_gcs.py
index 8142ebaa18b..cac419c9a0c 100644
--- a/providers/google/tests/unit/google/cloud/transfers/test_local_to_gcs.py
+++ b/providers/google/tests/unit/google/cloud/transfers/test_local_to_gcs.py
@@ -139,7 +139,7 @@ class TestFileToGcsOperator:
**self._config,
)
operator.execute(None)
- object_names = ["test/" + os.path.basename(fp) for fp in
glob("/tmp/fake*.csv")]
+ object_names = ["test/" + os.path.basename(fp) for fp in
glob(f"{self.tmpdir_posix}/fake*.csv")]
files_objects = zip(glob(f"{self.tmpdir_posix}/fake*.csv"),
object_names)
calls = [
mock.call(