boulder/test/mail-test-srv
Aaron Gable 9ae16edf51
Fix race condition in revocation integration tests (#6253)
Add a new filter to mail-test-srv, allowing test processes to query
for messages sent from a specific address, not just ones sent to
a specific address. This fixes a race condition in the revocation
integration tests where the number of messages sent to a cert's
contact address would be higher than expected because expiration
mailer sent a message while the test was running. Also reduce
bad-key-revoker's maximum backoff to 2 seconds to ensure that
it continues to run frequently during the integration tests, despite
usually not having any work to do.

While we're here, also improve the comments on various revocation
integration tests, remove some unnecessary cruft, and split the tests
out to explicitly test functionality with the MozRevocationReasons
flag both enabled and disabled. Also, change ocsp_helper's default
output from os.Stdout to ioutil.Discard to prevent hundreds of lines
of log spam when the integration tests fail during a test that uses
that library.

Fixes #6248
2022-07-29 09:23:50 -07:00
..
localhost Use TLS in mailer integration tests (#3213) 2017-11-06 14:57:14 -08:00
http.go Fix race condition in revocation integration tests (#6253) 2022-07-29 09:23:50 -07:00
http_test.go Fixes gofmt -s diffs 2016-11-30 13:30:03 -05:00
main.go Improve error checking paradigm (#5920) 2022-02-01 14:42:43 -07:00
minica-key.pem Use TLS in mailer integration tests (#3213) 2017-11-06 14:57:14 -08:00
minica.pem Use TLS in mailer integration tests (#3213) 2017-11-06 14:57:14 -08:00