From 87d856d71bb8567a58c76956f38c6ff11193121d Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Thu, 27 Feb 2020 08:05:28 +0000 Subject: [PATCH] cache: disable race tests until bbolt is fixed bbolt fails with "unsafe pointer conversion" under the go1.14 race detector. Disable race tests until https://github.com/etcd-io/bbolt/issues/187 is fixed. --- backend/cache/cache_internal_test.go | 1 + backend/cache/cache_mount_other_test.go | 1 + backend/cache/cache_mount_unix_test.go | 1 + backend/cache/cache_mount_windows_test.go | 1 + backend/cache/cache_test.go | 1 + backend/cache/cache_upload_test.go | 1 + 6 files changed, 6 insertions(+) diff --git a/backend/cache/cache_internal_test.go b/backend/cache/cache_internal_test.go index b6ee2a057..eb2a010de 100644 --- a/backend/cache/cache_internal_test.go +++ b/backend/cache/cache_internal_test.go @@ -1,4 +1,5 @@ // +build !plan9 +// +build !race package cache_test diff --git a/backend/cache/cache_mount_other_test.go b/backend/cache/cache_mount_other_test.go index 086428569..fc1f61260 100644 --- a/backend/cache/cache_mount_other_test.go +++ b/backend/cache/cache_mount_other_test.go @@ -2,6 +2,7 @@ // +build !darwin !go1.13 // +build !freebsd !go1.13 // +build !windows +// +build !race package cache_test diff --git a/backend/cache/cache_mount_unix_test.go b/backend/cache/cache_mount_unix_test.go index 47927bd5f..b91f4bc9e 100644 --- a/backend/cache/cache_mount_unix_test.go +++ b/backend/cache/cache_mount_unix_test.go @@ -1,4 +1,5 @@ // +build linux,go1.13 darwin,go1.13 freebsd,go1.13 +// +build !race package cache_test diff --git a/backend/cache/cache_mount_windows_test.go b/backend/cache/cache_mount_windows_test.go index d65dd17e8..0210209dc 100644 --- a/backend/cache/cache_mount_windows_test.go +++ b/backend/cache/cache_mount_windows_test.go @@ -1,4 +1,5 @@ // +build windows +// +build !race package cache_test diff --git a/backend/cache/cache_test.go b/backend/cache/cache_test.go index 5174c0bc4..7f9175861 100644 --- a/backend/cache/cache_test.go +++ b/backend/cache/cache_test.go @@ -1,6 +1,7 @@ // Test Cache filesystem interface // +build !plan9 +// +build !race package cache_test diff --git a/backend/cache/cache_upload_test.go b/backend/cache/cache_upload_test.go index dec5de9bc..f1e3252c3 100644 --- a/backend/cache/cache_upload_test.go +++ b/backend/cache/cache_upload_test.go @@ -1,4 +1,5 @@ // +build !plan9 +// +build !race package cache_test