Skip to content

Commit b6ca57b

Browse files
authored
test(s2n-quic-core): revert to bigger length for Kani test (#2312)
1 parent 24089b4 commit b6ca57b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

quic/s2n-quic-core/src/inet/checksum.rs

+2-4
Original file line numberDiff line numberDiff line change
@@ -401,15 +401,13 @@ mod tests {
401401
}
402402
}
403403

404-
// Reduce the length to 4 for Kani until
405-
// https://github.com/model-checking/kani/issues/3030 is fixed
406404
#[cfg(any(kani, miri))]
407-
const LEN: usize = if cfg!(kani) { 4 } else { 32 };
405+
const LEN: usize = if cfg!(kani) { 16 } else { 32 };
408406

409407
/// * Compares the implementation to a port of the C code defined in the RFC
410408
/// * Ensures partial writes are correctly handled, even if they're not at a 16 bit boundary
411409
#[test]
412-
#[cfg_attr(kani, kani::proof, kani::unwind(9), kani::solver(cadical))]
410+
#[cfg_attr(kani, kani::proof, kani::unwind(17), kani::solver(cadical))]
413411
fn differential() {
414412
#[cfg(any(kani, miri))]
415413
type Bytes = crate::testing::InlineVec<u8, LEN>;

0 commit comments

Comments
 (0)