services/obs: Service test failed for content mismatch
Xuanwo opened this issue · comments
Xuanwo commented
- Related PR: #957
- Test Case: https://github.com/beyondstorage/go-storage/runs/3982686814?check_suite_focus=true
When Read a file with offset or size
When Read with offset
The error should be nil ✔✔
The content should be match ✔✘✔
When Read with size
The error should be nil ✔✔
The content should be match ✔✘✔
When Read with offset and size
The error should be nil ✔✔
The content should be match ✔✘✔
Failures:
* /data/actions/beta/go-storage/go-storage/services/obs/tests/storage_test.go
Line 14:
Expected: '138112'
Actual: '451281'
(Should be equal)
* /data/actions/beta/go-storage/go-storage/services/obs/tests/storage_test.go
Line 14:
Expected: '1288953'
Actual: '2688928'
(Should be equal)
* /data/actions/beta/go-storage/go-storage/services/obs/tests/storage_test.go
Line 14:
Expected: '49793'
Actual: '291284'
(Should be equal)
Obs implementation must be buggy, let's fix it before release.
Xuanwo commented
obs doesn't support offset and size now:
go-storage/services/obs/storage.go
Lines 185 to 202 in 9aa9a15
this can be fixed by like:
go-storage/services/bos/storage.go
Lines 181 to 193 in 9aa9a15
Xuanwo commented