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

Use MySQL option --tmpdir to prevent multiple MySQL processes clashing. #4

Closed
wants to merge 1 commit into from

Conversation

lecstor
Copy link
Contributor

@lecstor lecstor commented Dec 3, 2011

  • added --tmpdir option to mysql commands in saetup and start methods.

Without the --tmpdir option it seems MySQL creates temporary files in the system tmp dir without much randomisation of the file names. I easily got clashes when running parrallel tests with prove -j 9. I got the same errors with your own tests using this option. With --tmpdir set I'm not seeing these issues.

I think I've fixed it with these changes, but please be sure to check it out for yourself.

cheers,

J

- added --tmpdir option to mysql commands in saetup and start methods.
@lecstor lecstor closed this Dec 6, 2011
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

1 participant