-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use separate key instances for span/array/array+offset test classes (#…
…34199) Because the key object generation was done in the algorithm-specific base class, the triplet of interface types was using the key instances in parallel. By moving the static variable (and initialization thereof) to each of the derived classes, the key objects are unique per class, which matches the test parallelism. Making the classes be part of the same test collection would also solve this problem, which would save on a few random keygens, but would likely overall take more time due to the number of tests that would be moved to sequential execution.
- Loading branch information
Showing
2 changed files
with
21 additions
and
9 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