Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestWantsShutdownNotification (0.16 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/initializer/initializer_test.go

    		t.Errorf("expected informer factory to be initialized")
    	}
    }
    
    // TestWantsShutdownSignal ensures that the shutdown signal is injected
    // when the WantsShutdownSignal interface is implemented by a plugin.
    func TestWantsShutdownNotification(t *testing.T) {
    	stopCh := make(chan struct{})
    	target := initializer.New(nil, nil, nil, &TestAuthorizer{}, nil, stopCh, nil)
    	wantDrainedNotification := &WantDrainedNotification{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top