7751: Fix stack trace on shutdown caused by race between destroy() and llfuse unmount.
[arvados.git] / services / keepstore / volume_unix_test.go
index 4f1e84c0dd998d59f4ea2449c73d2d5d53a4074c..924637f58e5004f1cec307266c87c0b53ae81d03 100644 (file)
@@ -85,6 +85,22 @@ func TestUnixVolumeWithGenericTestsSerialized(t *testing.T) {
        })
 }
 
+// serialize = false; readonly = false
+func TestUnixVolumeHandlersWithGenericVolumeTests(t *testing.T) {
+       DoHandlersWithGenericVolumeTests(t, func(t *testing.T) (*RRVolumeManager, []TestableVolume) {
+               vols := make([]Volume, 2)
+               testableUnixVols := make([]TestableVolume, 2)
+
+               for i := range vols {
+                       v := NewTestableUnixVolume(t, false, false)
+                       vols[i] = v
+                       testableUnixVols[i] = v
+               }
+
+               return MakeRRVolumeManager(vols), testableUnixVols
+       })
+}
+
 func TestGetNotFound(t *testing.T) {
        v := NewTestableUnixVolume(t, false, false)
        defer v.Teardown()