Skip to content

Commit d2ddcc1

Browse files
authored
Merge pull request #18808 from danhhz/ci
persist: skip truncate_bytes/strings proptests in miri
2 parents 2a0d4f5 + 11f003e commit d2ddcc1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/persist-types/src/stats.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -844,6 +844,7 @@ mod tests {
844844
}
845845

846846
#[test]
847+
#[cfg_attr(miri, ignore)] // too slow
847848
fn test_truncate_bytes_proptest() {
848849
fn testcase(x: &[u8]) {
849850
for max_len in 0..=x.len() {
@@ -906,6 +907,7 @@ mod tests {
906907
}
907908

908909
#[test]
910+
#[cfg_attr(miri, ignore)] // too slow
909911
fn test_truncate_string_proptest() {
910912
fn testcase(x: &str) {
911913
for max_len in 0..=x.len() {

0 commit comments

Comments
 (0)