Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: rework multi-va integration tests.
Rather than having a middle server bounce/redirect requests based on how many had arrived it would be more reliable to follow the way we did this in unit tests and decide based on the request UA. By setting different UAs for the remote VAs its possible to more precisely define how many requests from each VA should be redirected to the real key authorization. I believe using the count was flaky because occasionally with a configuration that allowed 2 requests to test that 1 of the 2 remote VAs failing was an overall success would fail if the 2 remote VAs made their requests before the primary VA. The primary VA always trumps the remotes and so if the remotes consume the redirect quota the primary VA will get the fail result and the overall validation will fail.
- Loading branch information
Daniel
committed
Apr 18, 2019
1 parent
342f164
commit 6e57e95
Showing
3 changed files
with
30 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters