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

Write a test_multiple_threads #21

Closed
rochacbruno opened this issue Mar 22, 2017 · 1 comment
Closed

Write a test_multiple_threads #21

rochacbruno opened this issue Mar 22, 2017 · 1 comment

Comments

@rochacbruno
Copy link
Member

Using pytest-xdist or even threading and multiprocessing directly

we need to write a test which will run on travis to ensure.

  • Dynaconf is thread safe
  • There are no conflicts with variables
  • There are no conflicts when multiple threads swaps namespaces
  • There are no conflicts reading the same config file at the same time
@rochacbruno
Copy link
Member Author

pytest is now using --boxed with xdist.

Data races may occur only if sources are changing at runtime

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

No branches or pull requests

1 participant