boulder/docs
Jacob Hoffman-Andrews a46c388f66
va: compute maxRemoteFailures based on MPIC (#7810)
Previously this was a configuration field.

Ports `maxAllowedFailures()` from `determineMaxAllowedFailures()` in
#7794.

Test updates:
 
Remove the `maxRemoteFailures` param from `setup` in all VA tests.

Some tests were depending on setting this param directly to provoke
failures.

For example, `TestMultiVAEarlyReturn` previously relied on "zero allowed
failures". Since the number of allowed failures is now 1 for the number
of remote VAs we were testing (2), the VA wasn't returning early with an
error; it was succeeding! To fix that, make sure there are two failures.
Since two failures from two RVAs wouldn't exercise the right situation,
add a third RVA, so we get two failures from three RVAs.

Similarly, TestMultiCAARechecking had several test cases that omitted
this field, effectively setting it to zero allowed failures. I updated
the "1 RVA failure" test case to expect overall success and added a "2
RVA failures" test case to expect overall failure (we previously
expected overall failure from a single RVA failing).

In TestMultiVA I had to change a test for `len(lines) != 1` to
`len(lines) == 0`, because with more backends we were now logging more
errors, and finding e.g. `len(lines)` to be 2.
2024-11-18 15:36:09 -08:00
..
CODE_OF_CONDUCT.md Reorganize docs and bring in release docs (#6077) 2022-05-04 12:21:37 -07:00
CONTRIBUTING.md Revert "sa: truncate all timestamps to seconds (#7519)" (#7559) 2024-06-26 17:25:05 -07:00
DESIGN.md Remove some ACMEv1 comments/documentation (#6584) 2023-01-12 10:56:39 -08:00
ISSUANCE-CYCLE.md docs: add ISSUANCE-CYCLE.md (#7444) 2024-05-06 13:01:08 -07:00
acme-divergences.md Probs: remove divergences from RFC8555 (#6877) 2023-05-15 12:35:12 -07:00
acme-implementation_details.md small docs change: minimum key size (#5158) 2020-10-29 12:14:27 -07:00
config-validation.md Remove repeated words in comments (#7445) 2024-04-23 10:30:33 -04:00
error-handling.md Overhaul internal error usage (#2583) 2017-03-22 23:27:31 -07:00
logging.md log: emit warnings and errors on stderr (#6325) 2022-08-29 15:00:55 -07:00
multi-va.md va: compute maxRemoteFailures based on MPIC (#7810) 2024-11-18 15:36:09 -08:00
redis.md Remove all static minica keys (#7489) 2024-05-17 11:45:40 -07:00
release.md Reorganize docs and bring in release docs (#6077) 2022-05-04 12:21:37 -07:00