Skip to content

Commit 8dbc8c3

Browse files
committed
fix: Mark timing-based test as ignored for CI
Timing tests are inherently flaky in shared CI environments. Run locally with: cargo test test_password_verifier_timing_attack_mitigation --lib -- --ignored
1 parent 3780556 commit 8dbc8c3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/server/auth/password.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -614,6 +614,7 @@ mod tests {
614614
}
615615

616616
#[tokio::test]
617+
#[ignore = "Timing-based test is flaky in CI; run locally with: cargo test test_password_verifier_timing_attack_mitigation --lib -- --ignored"]
617618
async fn test_password_verifier_timing_attack_mitigation() {
618619
let hash = hash_password("password").unwrap();
619620
let users = vec![UserDefinition {

0 commit comments

Comments
 (0)