1
mirror of https://github.com/rclone/rclone synced 2024-12-22 13:03:02 +01:00
rclone/backend/cache
Nick Craig-Wood 6a9ef27b09 cache: don't run failing tests on windows/386
After updating rclone's dependencies these tests started failing on
windows/386

- TestInternalDoubleWrittenContentMatches
- TestInternalMaxChunkSizeRespected

The failures look like this. The root cause is unknown. The `Wait(n=1)
would exceed context deadline` errors come from golang.org/x/time/rate
but it isn't clear what is calling them.

2021/08/20 21:57:16 ERROR : worker-0 <one>: object open failed 0: rate: Wait(n=1) would exceed context deadline
[snip ~10 duplicates]
2021/08/20 21:57:56 ERROR : tidwcm1629496636/one: (0/26) error (chunk not found 0) response
2021/08/20 21:58:02 ERROR : worker-0 <one>: object open failed 0: rate: Wait(n=1) would exceed context deadline
--- FAIL: TestInternalDoubleWrittenContentMatches (45.77s)
    cache_internal_test.go:310:
        	Error Trace:	cache_internal_test.go:310
        	Error:      	Not equal:
        	            	expected: "one content updated double"
        	            	actual  : ""

        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -1 +1 @@
        	            	-one content updated double
        	            	+
        	Test:       	TestInternalDoubleWrittenContentMatches
2021/08/20 21:58:03 original size: 23592960
2021/08/20 21:58:03 updated size: 12
2021-08-20 23:28:18 +01:00
..
cache_internal_test.go cache: don't run failing tests on windows/386 2021-08-20 23:28:18 +01:00
cache_test.go build: make rclone build with wasm 2020-08-10 17:32:21 +01:00
cache_unsupported.go build: make rclone build with wasm 2020-08-10 17:32:21 +01:00
cache_upload_test.go build: make rclone build with wasm 2020-08-10 17:32:21 +01:00
cache.go deprecate cache backend (#5382) 2021-06-10 19:52:55 +03:00
directory.go build: make rclone build with wasm 2020-08-10 17:32:21 +01:00
handle.go build: make rclone build with wasm 2020-08-10 17:32:21 +01:00
object.go build: make rclone build with wasm 2020-08-10 17:32:21 +01:00
plex.go build: make rclone build with wasm 2020-08-10 17:32:21 +01:00
storage_memory.go build: make rclone build with wasm 2020-08-10 17:32:21 +01:00
storage_persistent.go build: make rclone build with wasm 2020-08-10 17:32:21 +01:00
utils_test.go cache: move methods used for testing into test file 2020-03-16 18:41:32 +00:00