Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[batch] Unique remote tmpdir path for each split #12782

Merged

Conversation

daniel-goldstein
Copy link
Contributor

Different splits (test_hailtop_batch_0, test_hailtop_batch_1, …) can clobber each other's tmpdir.

@@ -406,7 +406,7 @@ def setUp(self):
remote_tmpdir = get_user_config().get('batch', 'remote_tmpdir')
if not remote_tmpdir.endswith('/'):
remote_tmpdir += '/'
self.remote_tmpdir = remote_tmpdir
self.remote_tmpdir = remote_tmpdir + str(uuid.uuid4())
Copy link
Contributor

@danking danking Mar 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the above line suggests this is meant to end with /

@danking danking merged commit 200bd31 into hail-is:main Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants