fstests: allow skipping of the broken UTF-8 test for the cache backend

This commit is contained in:
Nick Craig-Wood 2019-10-10 10:32:28 +01:00
parent e8b92f4853
commit 6abaa9e22c
2 changed files with 5 additions and 0 deletions

View file

@ -19,5 +19,6 @@ func TestIntegration(t *testing.T) {
NilObject: (*cache.Object)(nil),
UnimplementableFsMethods: []string{"PublicLink", "MergeDirs", "OpenWriterAt"},
UnimplementableObjectMethods: []string{"MimeType", "ID", "GetTier", "SetTier"},
SkipInvalidUTF8: true, // invalid UTF-8 confuses the cache
})
}