Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestGetOrCreateUserNamespaceMappingsSwitch (0.31 sec)

  1. pkg/kubelet/userns/userns_manager_switch_test.go

    	// The feature gate is off, no pods should be allocated.
    	for _, pod := range pods {
    		ok := m2.podAllocated(pod)
    		assert.False(t, ok, "pod %q should not be allocated", pod)
    	}
    }
    
    func TestGetOrCreateUserNamespaceMappingsSwitch(t *testing.T) {
    	// Enable the feature gate to create some pods on disk.
    	featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, pkgfeatures.UserNamespacesSupport, true)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top