mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-04 23:17:50 +00:00
fixing issue of feature gate not being turned off properly
This commit is contained in:
@@ -839,6 +839,8 @@ func TestAlphaVolumeModeCheck(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
// make sure feature gate is turned off
|
||||
toggleBlockVolumeFeature(false, t)
|
||||
}
|
||||
|
||||
func TestAlphaFilteringVolumeModes(t *testing.T) {
|
||||
@@ -933,6 +935,9 @@ func TestAlphaFilteringVolumeModes(t *testing.T) {
|
||||
t.Errorf("Unexpected failure for scenario: %s - %+v", name, err)
|
||||
}
|
||||
}
|
||||
|
||||
// make sure feature gate is turned off
|
||||
toggleBlockVolumeFeature(false, t)
|
||||
}
|
||||
|
||||
func TestFindingPreboundVolumes(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user