Skip to content

Commit

Permalink
CI: remove useless tests (#5513)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhoucheng361 authored Jan 6, 2025
1 parent b51019d commit 50b1ebd
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 879 deletions.
15 changes: 7 additions & 8 deletions .github/scripts/command/load_dump_bench.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ source .github/scripts/common/common.sh

[[ -z "$META" ]] && META=sqlite3
[[ -z "$START_META" ]] && START_META=true
[[ -z "$BIGDIR" ]] && BIGDIR=true
source .github/scripts/start_meta_engine.sh
META_URL=$(get_meta_url $META)
META_URL2=$(get_meta_url2 $META)
Expand Down Expand Up @@ -51,6 +50,7 @@ do_dump_load(){
else
./juicefs load $META_URL2 $dump_file
fi

./juicefs mount $META_URL2 /tmp/jfs2 -d
df -i /tmp/jfs /tmp/jfs2
iused1=$(df -i /tmp/jfs | tail -1 | awk '{print $3}')
Expand All @@ -62,14 +62,13 @@ do_dump_load(){
summary2=$(./juicefs summary /tmp/jfs2/ --csv | head -n +2 | tail -n 1)
[[ "$summary1" == "$summary2" ]] || (echo "<FATAL>: summary error: $summary1 $summary2" && exit 1)

if [[ "$BIGDIR" == "true" ]]; then
file_count=$(ls -l /tmp/jfs2/bigdir/test-dir.0-0/mdtest_tree.0/ | wc -l)
file_count=$((file_count-1))
if [[ "$file_count" -ne "$FILE_COUNT_IN_BIGDIR" ]]; then
echo "<FATAL>: file_count error: $file_count"
exit 1
fi
file_count=$(ls -l /tmp/jfs2/bigdir/test-dir.0-0/mdtest_tree.0/ | wc -l)
file_count=$((file_count-1))
if [[ "$file_count" -ne "$FILE_COUNT_IN_BIGDIR" ]]; then
echo "<FATAL>: file_count error: $file_count"
exit 1
fi

./juicefs rmr /tmp/jfs2/smalldir
ls /tmp/jfs2/smalldir && echo "<FATAL>: ls should fail" && exit 1 || true
umount_jfs /tmp/jfs2 $META_URL2
Expand Down
142 changes: 0 additions & 142 deletions .github/workflows/aitests.yml

This file was deleted.

104 changes: 0 additions & 104 deletions .github/workflows/elastictest.yml

This file was deleted.

105 changes: 0 additions & 105 deletions .github/workflows/filebench.yml

This file was deleted.

Loading

0 comments on commit 50b1ebd

Please sign in to comment.