Skip to content

Commit

Permalink
Merge pull request #646 from pangeo-forge/gcorradini/fix/minio-tests
Browse files Browse the repository at this point in the history
Disable `fsspec` Cache on Integration Tests
  • Loading branch information
ranchodeluxe authored Nov 13, 2023
2 parents a73d120 + 50ed1cf commit dc125ab
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ def minio_confpath(minio, tmp_path_factory: pytest.TempPathFactory):
fsspec_args = {
"key": minio["username"],
"secret": minio["password"],
"use_listings_cache": False,
"client_kwargs": {"endpoint_url": minio["endpoint"]},
}

Expand Down Expand Up @@ -131,7 +132,4 @@ def test_integration(confpath_option: str, recipe_id: str, request):
"JOB_NAME": f"{recipe_id}-{str(int(time.time()))}",
}
proc = subprocess.run(cmd, capture_output=True, env=env, text=True)
if proc.returncode != 0:
print("Command failed!")
print("Stdout:", proc.stdout)
print("Stderr:", proc.stderr)
assert proc.returncode == 0

0 comments on commit dc125ab

Please sign in to comment.