Skip to content

Commit

Permalink
CI: fix gc test (#4544)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhoucheng361 authored Mar 20, 2024
1 parent 12a3e45 commit d369163
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/scripts/command/gc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ start_meta_engine $META
META_URL=$(get_meta_url $META)

test_delay_delete_slice_after_compaction(){
if [[ "$META" != redis* ]]; then
echo "this test only runs for redis meta engine"
return
fi
prepare_test
./juicefs format $META_URL myjfs --trash-days 1
./juicefs mount -d $META_URL /jfs --no-usage-report
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ on:
branches:
- 'main'
- 'release-**'
paths-ignore:
paths:
- '.github/scripts/command/*.sh'
- '**/command.yml'
pull_request:
branches:
- 'main'
- 'release-**'
paths-ignore:
paths:
- '.github/scripts/command/*.sh'
- '**/command.yml'
schedule:
Expand Down

0 comments on commit d369163

Please sign in to comment.