Skip to content

Conversation

@dougch
Copy link
Contributor

@dougch dougch commented Dec 5, 2025

Goal

Speed up the slowest unit test(s).

Why

The aead-aes test is significantly slower than the next slowest test.

How

Split it into two, based on ciphers and pull any repeatable code into a utilities header.

These currently run serially, totaling around 16 minutes (valgrind with OSSL30-FIPS). By separating them, they run in parallel, with the longer pole (256) finishing in about 8 minutes.

Testing

CI

Related

resolves #4472

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@github-actions github-actions bot added the s2n-core team label Dec 5, 2025
@dougch dougch marked this pull request as ready for review December 5, 2025 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

s2n_aead_aes_test times out occasionally

2 participants