Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add vault large directory testcase #2482

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 22 additions & 1 deletion .github/workflows/merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,28 @@ jobs:
time ./target/release/ant --log-output-dest=data-dir file upload random_1GB.bin
./target/release/ant --log-output-dest=data-dir vault sync
rm -rf random*.bin
rm -rf ${{ matrix.ant_path }}/autonomi
rm -rf ${{ matrix.ant_path }}/ant
env:
SN_LOG: "v"
timeout-minutes: 15

- name: validate vault with file directories with large no. of files.
if: matrix.os != 'windows-latest'
run: |
set -e
mkdir test_directory_vault
cd test_directory_vault
for dir in {1..5}; do
mkdir subdir_$dir
for file in {1..100}; do
dd if=/dev/zero of=subdir_$dir/file_$file.bin bs=100M count=1
done
done
cd ../
time ./target/release/ant --log-output-dest=data-dir file upload test_directory_vault
./target/release/ant --log-output-dest=data-dir vault sync
rm -rf test_directory_vault
rm -rf ${{ matrix.ant_path }}/ant
env:
ANT_LOG: "v"
timeout-minutes: 15
Expand Down
Loading