Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
zhoucheng361 committed Jan 6, 2025
1 parent 3c9ece5 commit c9a7fc9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .github/scripts/command/load_dump_bench.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ source .github/scripts/common/common.sh
source .github/scripts/start_meta_engine.sh
META_URL=$(get_meta_url $META)
META_URL2=$(get_meta_url2 $META)
FILE_COUNT_IN_BIGDIR=100000
FILE_COUNT_IN_BIGDIR=10000

prepare_test_data(){
umount_jfs /tmp/jfs $META_URL
Expand All @@ -19,7 +19,7 @@ prepare_test_data(){
./juicefs mount -d $META_URL /tmp/jfs
threads=10
./juicefs mdtest $META_URL /bigdir --depth=1 --dirs=0 --files=$((FILE_COUNT_IN_BIGDIR/threads)) --threads=$threads --write=8192
./juicefs mdtest $META_URL /smalldir --depth=2 --dirs=10 --files=10 --threads=10 --write=8192
./juicefs mdtest $META_URL /smalldir --depth=1 --dirs=10 --files=10 --threads=10 --write=8192
}

if [[ "$START_META" == "true" ]]; then
Expand All @@ -29,6 +29,7 @@ fi

test_dump_load(){
do_dump_load
exit 1
}

test_dump_load_fast(){
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/load.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
if [ "${{github.event_name}}" == "schedule" ] || [ "${{github.event_name}}" == "workflow_dispatch" ]; then
echo 'meta_matrix=["sqlite3", "redis", "mysql", "tikv", "tidb", "postgres", "mariadb", "fdb"]' >> $GITHUB_OUTPUT
else
echo 'meta_matrix=["fdb", "tikv"]' >> $GITHUB_OUTPUT
echo 'meta_matrix=["fdb"]' >> $GITHUB_OUTPUT
fi
outputs:
meta_matrix: ${{ steps.set-matrix.outputs.meta_matrix }}
Expand Down Expand Up @@ -126,8 +126,8 @@ jobs:
UPLOAD_TOKEN: ${{ secrets.CI_COVERAGE_FILE_UPLOAD_AUTH_TOKEN }}

- name: Setup upterm session
if: failure() && (github.event.inputs.debug == 'true' || github.run_attempt != 1)
# if: failure()
# if: failure() && (github.event.inputs.debug == 'true' || github.run_attempt != 1)
if: failure()
timeout-minutes: 60
uses: lhotari/action-upterm@v1

Expand Down

0 comments on commit c9a7fc9

Please sign in to comment.