Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
zhoucheng361 committed Jan 5, 2025
1 parent 263592b commit f1ab942
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/scripts/command/load_dump_bench.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,12 @@ do_dump_load(){
./juicefs load $META_URL2 dump.json
fi
./juicefs mount $META_URL2 /tmp/jfs2 -d
df -i /tmp/jfs /tmp/jfs2
iused1=$(df -i /tmp/jfs | tail -1 | awk '{print $3}')
iused2=$(df -i /tmp/jfs2 | tail -1 | awk '{print $3}')
[[ "$iused1" == "$iused2" ]] || (echo "<FATAL>: iused error: $iused1 $iused2" && exit 1)
./juicefs summary /tmp/jfs/ --csv
./juicefs summary /tmp/jfs2/ --csv
summary1=$(./juicefs summary /tmp/jfs/ --csv | head -n +2 | tail -n 1)
summary2=$(./juicefs summary /tmp/jfs2/ --csv | head -n +2 | tail -n 1)
[[ "$summary1" == "$summary2" ]] || (echo "<FATAL>: summary error: $summary1 $summary2" && exit 1)
Expand Down

0 comments on commit f1ab942

Please sign in to comment.