1
mirror of https://github.com/rclone/rclone synced 2024-12-26 18:23:45 +01:00

tests/config: integration tests for chunker

Recommended `rclone.conf` snippets for this `config.yaml`:
```
[TestChunkerLocal]
type = chunker
meta_format = simplejson
remote = /tmp/rclone-chunker-test

[TestChunkerChunk3bLocal]
type = chunker
chunk_size = 3b
meta_format = simplejson
remote = /tmp/rclone-chunker-test

[TestChunkerNometaLocal]
type = chunker
meta_format = none
remote = /tmp/rclone-chunker-test

[TestChunkerChunk3bNometaLocal]
type = chunker
chunk_size = 3b
meta_format = none
remote = /tmp/rclone-chunker-test

[TestChunkerCompatLocal]
type = chunker
meta_format = wdmrcompat
remote = /tmp/rclone-chunker-test
```
This commit is contained in:
Ivan Andreev 2019-09-16 20:49:47 +03:00 committed by Nick Craig-Wood
parent c68c919cea
commit be674faff1

View File

@ -26,6 +26,71 @@ backends:
- backend: "crypt"
remote: "TestCryptSwift:"
fastlist: false
## chunker
- backend: "chunker"
remote: "TestChunkerLocal:"
fastlist: true
- backend: "chunker"
remote: "TestChunkerNometaLocal:"
fastlist: true
- backend: "chunker"
remote: "TestChunkerCompatLocal:"
fastlist: true
- backend: "chunker"
remote: "TestChunkerChunk3bLocal:"
fastlist: true
maxfile: 6k
- backend: "chunker"
remote: "TestChunkerChunk3bNometaLocal:"
fastlist: true
maxfile: 6k
- backend: "chunker"
remote: "TestChunkerChunk3bCompatLocal:"
fastlist: true
maxfile: 6k
- backend: "chunker"
remote: "TestChunkerMailru:"
fastlist: true
- backend: "chunker"
remote: "TestChunkerChunk50bMailru:"
fastlist: true
maxfile: 10k
- backend: "chunker"
remote: "TestChunkerChunk50bYandex:"
fastlist: true
maxfile: 1k
- backend: "chunker"
remote: "TestChunkerChunk50bBox:"
fastlist: true
maxfile: 1k
- backend: "chunker"
remote: "TestChunkerS3:"
fastlist: true
ignore:
- TestIntegration/FsMkdir/FsPutFiles/SetTier
- backend: "chunker"
remote: "TestChunkerChunk50bS3:"
fastlist: true
maxfile: 1k
ignore:
- TestIntegration/FsMkdir/FsPutFiles/SetTier
#- backend: "chunker"
# remote: "TestChunkerChunk50bMD5HashS3:"
# fastlist: true
# maxfile: 1k
#- backend: "chunker"
# remote: "TestChunkerChunk50bMD5QuickS3:"
# fastlist: true
# maxfile: 1k
#- backend: "chunker"
# remote: "TestChunkerChunk50bSHA1HashS3:"
# fastlist: true
# maxfile: 1k
#- backend: "chunker"
# remote: "TestChunkerChunk50bSHA1QuickS3:"
# fastlist: true
# maxfile: 1k
## end chunker
- backend: "drive"
remote: "TestDrive:"
fastlist: true