From 7c9f1b8917fd12809ccb2e18dc0ab5f3dbdc6267 Mon Sep 17 00:00:00 2001
From: Nick Craig-Wood <nick@craig-wood.com>
Date: Tue, 2 Apr 2024 18:46:20 +0100
Subject: [PATCH] local: disable unreliable test

In this commit we merged an unreliable test

e053c8a1c03e9c43 copy: fix nil pointer dereference when corrupted on transfer with nil dst

It is a good idea but very hard to implement so it always works.

Hence this disables it for the moment.
---
 backend/local/local_internal_test.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/backend/local/local_internal_test.go b/backend/local/local_internal_test.go
index 68ca696a6..82447fa6e 100644
--- a/backend/local/local_internal_test.go
+++ b/backend/local/local_internal_test.go
@@ -79,6 +79,7 @@ func TestUpdatingCheck(t *testing.T) {
 // Test corrupted on transfer
 // should error due to size/hash mismatch
 func TestVerifyCopy(t *testing.T) {
+	t.Skip("FIXME this test is unreliable")
 	r := fstest.NewRun(t)
 	filePath := "sub dir/local test"
 	r.WriteFile(filePath, "some content", time.Now())