devopshq / artifactory

dohq-artifactory: a Python client for Artifactory
https://devopshq.github.io/artifactory/
MIT License
269 stars 137 forks source link

Unit tests failing with `IncompleteRead` #419

Closed briantist closed 1 year ago

briantist commented 1 year ago

See the latest CI runs: https://github.com/devopshq/artifactory/actions

Errors include:

requests.exceptions.ChunkedEncodingError: ('Connection broken: IncompleteRead(236 bytes read, -236 more expected)', IncompleteRead(236 bytes read, -236 more expected))
urllib3.exceptions.IncompleteRead: IncompleteRead(236 bytes read, -236 more expected)

Should be fixed by https://github.com/getsentry/responses/pull/643 (thanks @beliaev-maksim!) but I wanted to open an issue to track that because:

beliaev-maksim commented 1 year ago

no, we actually need to update tests on artifactory

we need to enable autocalculation of content length or provide header with the right content length