Skip to content

Commit 585a0d9

Browse files
Merge pull request #3619 from ipfs/fix/random-repo-test-failure
Fix/random repo test failure
2 parents 42cb5d4 + e5bc81a commit 585a0d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/sharness/t0086-repo-verify.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ sort_rand() {
2424
}
2525

2626
check_random_corruption() {
27-
to_break=$(find "$IPFS_PATH/blocks" -type f | sort_rand | head -n 1)
27+
to_break=$(find "$IPFS_PATH/blocks" -type f | grep -v README | grep -v SHARDING | sort_rand | head -n 1)
2828

2929
test_expect_success "back up file and overwrite it" '
3030
cp "$to_break" backup_file &&

0 commit comments

Comments
 (0)