mirror of https://github.com/apache/nifi.git
NIFI-7126 Increased test iterations to 10,000 in Argon2SecureHasherTe… (#4187)
* NIFI-7126 Increased test iterations to 10,000 in Argon2SecureHasherTest#testDefaultCostParamsShouldBeSufficient to avoid JVM warmup issues. Signed-off-by: Andy LoPresto <alopresto@apache.org>
This commit is contained in:
parent
f0e8daf45d
commit
59c756c72b
|
@ -209,10 +209,11 @@ class Argon2SecureHasherTest extends GroovyTestCase {
|
|||
* This test can have the minimum time threshold updated to determine if the performance
|
||||
* is still sufficient compared to the existing threat model.
|
||||
*/
|
||||
@Ignore("Long running test")
|
||||
@Test
|
||||
void testDefaultCostParamsShouldBeSufficient() {
|
||||
// Arrange
|
||||
int testIterations = 10
|
||||
int testIterations = 10_000
|
||||
byte[] inputBytes = "This is a sensitive value".bytes
|
||||
|
||||
Argon2SecureHasher a2sh = new Argon2SecureHasher()
|
||||
|
|
Loading…
Reference in New Issue