-
Notifications
You must be signed in to change notification settings - Fork 6
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
Flaky test: TestSMTPMailerWithNoEHLO.test_send_multiple_threads #15
Comments
This problem still seems to exist: log
|
Here's the test: zope.sendmail/src/zope/sendmail/tests/test_mailer.py Lines 148 to 171 in 85e2af8
It calls zope.sendmail/src/zope/sendmail/tests/test_mailer.py Lines 126 to 146 in 85e2af8
Line 134 is not thread safe!
|
mgedmin
added a commit
that referenced
this issue
Dec 18, 2020
We had a unit test spawning two threads attempting to run self.test_send_multiple_same_mailer() twice, concurrently. This works badly when both instances try to mutate self.smtp_hook and verify values on self.smtp. Closes #15.
mgedmin
added a commit
that referenced
this issue
Dec 22, 2020
We had a unit test spawning two threads attempting to run self.test_send_multiple_same_mailer() twice, concurrently. This works badly when both instances try to mutate self.smtp_hook and verify values on self.smtp. Closes #15.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Examples of failures:
log
log
log
log
The text was updated successfully, but these errors were encountered: