opendal
opendal copied to clipboard
bug: Timeout problem for ipfs integration tests
As described in the workflow:
https://github.com/datafuselabs/opendal/blob/00981d4cacf710a89574be5ab7d4acc725362083/.github/workflows/service_test_ipfs.yml#L21-L41
- start a local ipfs daemon
- copy files into ipfs
- list all files to make sure they exists
But when we try to access those files via HTTP gateway, we always met:
[2022-11-08T09:44:20Z WARN opendal::services] service=ipfs operation=read path=normal_file offset=Some(1024) size=Some(1024) -> errored: Custom { kind: Interrupted, error: ObjectError { op: Read, path: "normal_file", source: status code: 408, headers: {"content-type": "text/plain; charset=utf-8", "x-content-type-options": "nosniff", "date": "Tue, 08 Nov 2022 09:44:20 GMT", "content-length": "108"}, body: "ipfs resolve -r /ipfs/QmPpCt1aYGb9JWJRmXRUnmJtVgeFFTJGzWFYEEX7bo9zGJ/normal_file: context deadline exceeded\n" } }
https://github.com/datafuselabs/opendal/actions/runs/3417840551/jobs/5689433584
Any ideas?
We disabled the test for now.