apache / opendal

Apache OpenDAL: access data freely.
https://opendal.apache.org
Apache License 2.0
3.27k stars 455 forks source link

tests(behavior): add test for writer write overwrite #4818

Closed yuchanns closed 3 months ago

yuchanns commented 3 months ago

fix #4790

yuchanns commented 3 months ago

Now the behavior tests can run on PR. I have no idea about what happens to sftp.

Xuanwo commented 3 months ago

Seems sftp does have some issues:

---- behavior::test_writer_write_overwrite ----
test panicked: assertion `left == right` failed: read content_two
  left: "eec0453ded52696abe7e34987d12d89daa382e5d70c0d0271c3ccfd4706e5245"
 right: "4e4c5edbadda8d42c622f28de6b643397820abfc37c6e35eeed67a360cb3f65e"

failures:
    behavior::test_writer_write_overwrite

test result: FAILED. 84 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 21.25s

I will double check there. Feel free to dive in if you are interested too.

Xuanwo commented 3 months ago

Wow, perfect!