From 93fd6ada8c0405d156b56fa67bebf23622040d23 Mon Sep 17 00:00:00 2001 From: Jay Chia Date: Sun, 25 Jun 2023 21:47:18 -0700 Subject: [PATCH] Add chmod to nginx folder in fixture --- tests/integration/io/conftest.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/integration/io/conftest.py b/tests/integration/io/conftest.py index 1afc05d9ed..e663888171 100644 --- a/tests/integration/io/conftest.py +++ b/tests/integration/io/conftest.py @@ -40,9 +40,12 @@ def aws_public_s3_config() -> daft.io.IOConfig: @pytest.fixture(scope="session") def nginx_config() -> tuple[str, pathlib.Path]: """Returns the (nginx_server_url, static_files_tmpdir) as a tuple""" + # Ensure that data folder is writable + data_folder = pathlib.Path("/tmp/daft-integration-testing/nginx") + data_folder.chmod(777) return ( "http://127.0.0.1:8080", - pathlib.Path("/tmp/daft-integration-testing/nginx"), + data_folder, )