From be674faff14a49804401ff35c1b4a1f530adedd6 Mon Sep 17 00:00:00 2001 From: Ivan Andreev Date: Mon, 16 Sep 2019 20:49:47 +0300 Subject: [PATCH] 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 ``` --- fstest/test_all/config.yaml | 65 +++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) diff --git a/fstest/test_all/config.yaml b/fstest/test_all/config.yaml index e6a276648..b0a4d9739 100644 --- a/fstest/test_all/config.yaml +++ b/fstest/test_all/config.yaml @@ -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