Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. plugin/pkg/admission/podtolerationrestriction/admission_test.go

    		}
    		ptPlugin := NewPodTolerationsPlugin(pluginConfig)
    		if e, a := shouldHandle, ptPlugin.Handles(op); e != a {
    			t.Errorf("%v: shouldHandle=%t, handles=%t", op, e, a)
    		}
    	}
    }
    
    func TestIgnoreUpdatingInitializedPod(t *testing.T) {
    	mockClient := &fake.Clientset{}
    	handler, informerFactory, err := newHandlerForTest(mockClient)
    	if err != nil {
    		t.Errorf("unexpected error initializing handler: %v", err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 16K bytes
    - Viewed (0)
Back to top