From 01639e42a1998b25e4c6630680d0ca5b53ff27fb Mon Sep 17 00:00:00 2001 From: Lucas Molas Date: Wed, 19 May 2021 09:41:54 -0300 Subject: [PATCH] experiment: test increasing dir size --- test/sharness/t0250-files-api.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/sharness/t0250-files-api.sh b/test/sharness/t0250-files-api.sh index 5c146b550e0d..9b19af11e53f 100755 --- a/test/sharness/t0250-files-api.sh +++ b/test/sharness/t0250-files-api.sh @@ -56,10 +56,10 @@ test_sharding() { test_expect_success "can make 100 files in a directory $EXTRA" ' printf "" > list_exp_raw - for i in `seq 100 -1 1` + for i in `seq 6000 -1 1` do - echo $i | ipfs files write --create /foo/file$i || return 1 - echo file$i >> list_exp_raw + echo $i | ipfs files write --flush=false --create /foo/`printf "file%06d" $i` || return 1 + echo `printf "file%06d" $i` >> list_exp_raw done ' # Create the files in reverse (unsorted) order (`seq 100 -1 1`)