From e1bdcb337d4248fc4ae4b96a3631827d12994077 Mon Sep 17 00:00:00 2001 From: zhoucheng Date: Sat, 4 Jan 2025 09:22:42 +1000 Subject: [PATCH] wip --- .github/scripts/command/load_dump.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/scripts/command/load_dump.sh b/.github/scripts/command/load_dump.sh index 3b8069cacf00..f6966eb3f31b 100755 --- a/.github/scripts/command/load_dump.sh +++ b/.github/scripts/command/load_dump.sh @@ -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 @@ -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