We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently, if a service writes some state to the disk by a static file name, this state is shared between different tests. This leads to 2 things:
This makes tests very fragile and cluttered: forget to clean state and you have a failing test that is really hard to debug.
I think the situation can be improved by generating directory mapping randomly. For example, /tmp can be mapped to /tmp/$UUID on the host.
/tmp
/tmp/$UUID
The text was updated successfully, but these errors were encountered:
Here's an example of defensive state-cleaning in AquaDHT tests: https://github.com/fluencelabs/aqua-dht/blob/9a729611c6da4930b5f145696bfdc975d1227e77/service/src/tests.rs#L127
Sorry, something went wrong.
No branches or pull requests
Currently, if a service writes some state to the disk by a static file name, this state is shared between different tests. This leads to 2 things:
This makes tests very fragile and cluttered: forget to clean state and you have a failing test that is really hard to debug.
I think the situation can be improved by generating directory mapping randomly. For example,
/tmp
can be mapped to/tmp/$UUID
on the host.The text was updated successfully, but these errors were encountered: