Files
dvc/tests
Paulo Olveira 75b4d0e483 s3: fix for corrupted cache on multipart uploads (#1867)
* s3: fixed wrong etag when copying multipart objects

The etag of multipart objects depends of the number of parts, when copying to the cache we should do so in the same number of parts that the original object was moved/uploaded in.

Fixes part of #1410

* s3: added check on copy for equal etag

* s3: added specific exception for ETag mismatch

* s3: use multipart copy to preserve etags

Signed-off-by: Ruslan Kuprieiev <[email protected]>

* test: add tests for etag preservation on s3

Signed-off-by: Ruslan Kuprieiev <[email protected]>

* test: requirements: use dev version moto

Specifically because of this https://github.com/spulec/moto/issues/1941

Signed-off-by: Ruslan Kuprieiev <[email protected]>

* test: requirements: install dev moto without -e

Signed-off-by: Ruslan Kuprieiev <[email protected]>

* test: stop using moto

Turned out to be quite buggy.

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-04-15 21:03:22 +03:00
..
2019-02-04 03:09:21 +02:00
2019-02-13 03:31:23 +02:00
2019-02-13 03:31:23 +02:00
2019-02-13 03:31:23 +02:00
2019-03-21 19:47:42 +03:00
2019-01-30 03:48:36 +02:00
2019-03-20 04:09:12 +02:00
2019-03-25 09:43:58 +01:00
2019-03-26 01:29:49 +09:00
2019-03-20 04:09:12 +02:00
2019-03-21 19:47:42 +03:00
2019-03-22 19:53:41 +03:00