- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TestRemoveDuplicateAccessModes (0.22 sec)
-
pkg/apis/core/helper/helpers_test.go
} if !ContainsAccessMode(modes, core.ReadWriteOncePod) { t.Errorf("Expected mode %s, but got %+v", core.ReadWriteOncePod, modes) } } func TestRemoveDuplicateAccessModes(t *testing.T) { modes := []core.PersistentVolumeAccessMode{ core.ReadWriteOnce, core.ReadOnlyMany, core.ReadOnlyMany, core.ReadOnlyMany, } modes = removeDuplicateAccessModes(modes) if len(modes) != 2 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Oct 28 07:31:28 UTC 2023 - 9.2K bytes - Viewed (0) -
pkg/apis/core/v1/helper/helpers_test.go
} if !ContainsAccessMode(modes, v1.ReadWriteOncePod) { t.Errorf("Expected mode %s, but got %+v", v1.ReadWriteOncePod, modes) } } func TestRemoveDuplicateAccessModes(t *testing.T) { modes := []v1.PersistentVolumeAccessMode{ v1.ReadWriteOnce, v1.ReadOnlyMany, v1.ReadOnlyMany, v1.ReadOnlyMany, } modes = removeDuplicateAccessModes(modes) if len(modes) != 2 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 30 23:03:54 UTC 2024 - 16.9K bytes - Viewed (0)