Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
zhoucheng361 committed Jan 3, 2025
1 parent 65cfe6b commit e1bdcb3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/scripts/command/load_dump.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ test_dump_with_keep_secret()
prepare_test
./juicefs format $META_URL myjfs --storage minio --bucket http://localhost:9000/test --access-key minioadmin --secret-key minioadmin
./juicefs dump --keep-secret-key $META_URL dump.json --fast
cat dump.json
python3 .github/scripts/flush_meta.py $META_URL
./juicefs load $META_URL dump.json
./juicefs mount -d $META_URL /jfs
Expand All @@ -57,6 +58,7 @@ test_dump_without_keep_secret()
prepare_test
./juicefs format $META_URL myjfs --storage minio --bucket http://localhost:9000/test --access-key minioadmin --secret-key minioadmin
./juicefs dump $META_URL dump.json --fast
cat dump.json
python3 .github/scripts/flush_meta.py $META_URL
./juicefs load $META_URL dump.json
./juicefs mount -d $META_URL /jfs && echo "mount should fail" && exit 1 || true
Expand Down

0 comments on commit e1bdcb3

Please sign in to comment.