Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for customExit (0.08 sec)

  1. pkg/proxy/node_test.go

    	"k8s.io/klog/v2"
    )
    
    func TestNodePodCIDRHandlerAdd(t *testing.T) {
    	oldKlogOsExit := klog.OsExit
    	defer func() {
    		klog.OsExit = oldKlogOsExit
    	}()
    	klog.OsExit = customExit
    
    	tests := []struct {
    		name            string
    		oldNodePodCIDRs []string
    		newNodePodCIDRs []string
    		expectPanic     bool
    	}{
    		{
    			name: "both empty",
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Sep 10 16:50:29 UTC 2023
    - 3.5K bytes
    - Viewed (0)
Back to top