Skip to content

Commit b929eb5

Browse files
Skip bsatn decode proptest (#5361)
# Description of Changes Attempted to fix this test in #5343, but we're still getting SIGKILLS, so ignoring for now. This will require more investigation to fix. I've included what I believe is the reason in the help text and created [this](#5362) tracker to unskip. # API and ABI breaking changes None # Expected complexity level and risk 0 # Testing N/A
1 parent f8ccbbe commit b929eb5

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

crates/sats/src/bsatn.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,11 @@ mod tests {
269269
}
270270

271271
#[test]
272+
#[ignore = "This test needs to be refactored. \
273+
It can generate input that allocates a lot of memory during decode, \
274+
which can sometimes result in a SIGKILL. \
275+
This supposedly occurs for array types with zero-width elements, \
276+
but this has not been confirmed."]
272277
fn bsatn_invalid_wont_decode(ty in generate_algebraic_type(), bytes in vec(any::<u8>(), 0..4096)) {
273278
prop_assume!(type_non_empty(&ty));
274279
prop_assume!(WithTypespace::empty(&ty).validate(Deserializer::new(&mut &bytes[..])).is_err());

0 commit comments

Comments
 (0)