Skip to content

Commit

Permalink
Add chmod to nginx folder in fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
Jay Chia committed Jun 26, 2023
1 parent 3b4389e commit 93fd6ad
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/integration/io/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)


Expand Down

0 comments on commit 93fd6ad

Please sign in to comment.