Skip to content

Commit

Permalink
fix: ofs write behavior (#4617)
Browse files Browse the repository at this point in the history
* fix: ofs write behavior [wip]

* fix: set `written` to end of the file when `is_append`

* fix: ofs behavior tests

* fix: clippy

* ci: add timeout for ofs tests

* ci

* ci

* fix: check flags

* feat: file truncate test

* fix

* fix

* refactor: readdirplus

* fix: metadata from stat

* chore

* fix: dummy file attribute

* fix: access

* fix: read
  • Loading branch information
ho-229 authored May 23, 2024
1 parent 7d50e3c commit 9862a1d
Show file tree
Hide file tree
Showing 6 changed files with 273 additions and 215 deletions.
2 changes: 1 addition & 1 deletion .github/actions/test_behavior_bin_ofs/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ runs:
- name: Run Test Ofs
shell: bash
working-directory: bin/ofs
run: cargo test --features ${{ inputs.feature }} --no-default-features
run: cargo test --features ${{ inputs.feature }} --no-default-features -- --nocapture
env:
OPENDAL_TEST: ${{ inputs.service }}
EOF
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test_behavior_bin_ofs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ jobs:
test:
name: ${{ matrix.cases.service }} / ${{ matrix.cases.setup }}
runs-on: ${{ inputs.os }}
timeout-minutes: 10

strategy:
matrix:
cases: ${{ fromJson(inputs.cases) }}
Expand Down
Loading

0 comments on commit 9862a1d

Please sign in to comment.