boulder/test/config-next
Daniel McCarney c2ad80f774 tests: rework multi-va integration tests. (#4169)
Rather than having the `BouncerHTTPRequestHandler` bounce/redirect
requests based on how many have arrived it is more reliable to follow
the way we did this in unit tests and decide based on the request
UA. By setting a distinct UA per VA it's possible to more precisely
define how many requests from each VA should be redirected to the
real key authorization.

Using the count was flaky because occasionally the remote VA
requests would arrive before the primary VA expending the VIP
request quota and bouncing the primary VA validation request. The
`test_http_multiva_threshold_pass` unit test expectation was that
since 2 of the 3 requests would pass that the test would pass but
since the primary VA is treated differently (it must always see a
valid result for the remote VA results to be considered) the test
would fail when the requests were scheduled this way.

Something particular to CI seems to result in the primary VA
being scheduled after the remote VA goroutines more often
than on faster machines/local testing. I had very little
luck reproducing locally but in 10 CI builds of master
with the count-based `BouncerHTTPRequestHandler` tests I saw
`test_http_multiva_threshold_pass` fail 2 builds. After switching to
this branch's UA-based `BouncerHTTPRequestHandler` 10/10 builds passed.

Resolves https://github.com/letsencrypt/boulder/issues/4147
2019-04-18 17:06:24 -07:00
..
admin-revoker.json Update gRPC (#3817) 2018-08-20 10:55:42 -04:00
akamai-purger.json Implement direct revocation at RA (#4043) 2019-02-14 14:47:42 -05:00
ca-a.json Remove TLS-SNI-01 (#4114) 2019-03-15 09:05:24 -04:00
ca-b.json Remove TLS-SNI-01 (#4114) 2019-03-15 09:05:24 -04:00
cert-checker.json Remove TLS-SNI-01 (#4114) 2019-03-15 09:05:24 -04:00
contact-exporter.json notify-mailer/contact-exporter bug fixes & documentation (#2016) 2016-07-06 14:15:22 -04:00
expiration-mailer.json Update gRPC (#3817) 2018-08-20 10:55:42 -04:00
notify-mailer.json notify-mailer/contact-exporter bug fixes & documentation (#2016) 2016-07-06 14:15:22 -04:00
ocsp-responder.json Add timeout to ocsp-responder (#3892) 2018-10-22 09:20:08 -04:00
ocsp-updater.json Implement direct revocation at RA (#4043) 2019-02-14 14:47:42 -05:00
orphan-finder.json Update gRPC (#3817) 2018-08-20 10:55:42 -04:00
publisher.json Remove deprecated features that have been purged from prod and staging configs (#4001) 2019-01-15 16:16:35 -08:00
ra.json Improve integration tests (#4143) 2019-04-04 10:59:38 -07:00
sa.json Deprecate renewal rate limiting feature flags (#4161) 2019-04-17 12:39:08 -07:00
va-remote-a.json tests: rework multi-va integration tests. (#4169) 2019-04-18 17:06:24 -07:00
va-remote-b.json tests: rework multi-va integration tests. (#4169) 2019-04-18 17:06:24 -07:00
va.json VA: additional feature flag control for multiVA. (#4122) 2019-03-25 12:23:53 -04:00
wfe.json Implement WFE retrieval logic for v2 authorizations (#4085) 2019-02-26 13:14:05 -08:00
wfe2.json Remove account ID in WFE2 if feature enabled (#4160) 2019-04-17 13:38:25 -04:00