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

chore(tests): use custom temp dir creation for the tests #14153

Merged
merged 10 commits into from
Apr 1, 2022

Conversation

dsherret
Copy link
Member

@dsherret dsherret commented Mar 30, 2022

This makes the tests way faster on Windows (at least on my machine). My WSL seems unaffected at 1m 46s on main.

Before: 11m 51s
After: 2m 26s

Also, fixes various temp directories that weren't being cleaned up.

Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

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

This adds quite some complexity, but if it speeds up tests significantly I think we can land it.

@dsherret dsherret merged commit 1c37ac3 into denoland:main Apr 1, 2022
@dsherret dsherret deleted the temp_dir_faster branch April 1, 2022 15:15
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.

None yet

2 participants