Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for waitForRegistration (0.17 sec)

  1. pkg/kubelet/pluginmanager/pluginwatcher/plugin_watcher_test.go

    	d, err := os.MkdirTemp("", "plugin_test")
    	if err != nil {
    		t.Fatalf("Could not create a temp directory %s: %v", d, err)
    	}
    
    	return d
    }
    
    func waitForRegistration(
    	t *testing.T,
    	socketPath string,
    	dsw cache.DesiredStateOfWorld) {
    	err := retryWithExponentialBackOff(
    		time.Duration(500*time.Millisecond),
    		func() (bool, error) {
    			if dsw.PluginExists(socketPath) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 04 06:56:50 UTC 2023
    - 8K bytes
    - Viewed (0)
  2. pkg/kubelet/pluginmanager/reconciler/reconciler_test.go

    }
    
    func cleanup(t *testing.T) {
    	require.NoError(t, os.RemoveAll(socketDir))
    	os.MkdirAll(socketDir, 0755)
    }
    
    func runReconciler(reconciler Reconciler) {
    	go reconciler.Run(wait.NeverStop)
    }
    
    func waitForRegistration(
    	t *testing.T,
    	socketPath string,
    	previousTimestamp time.Time,
    	asw cache.ActualStateOfWorld) {
    	err := retryWithExponentialBackOff(
    		time.Duration(500*time.Millisecond),
    		func() (bool, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 16 14:21:15 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  3. pkg/kubelet/pluginmanager/plugin_manager_test.go

    	}
    
    	socketDir = d
    }
    
    func cleanup(t *testing.T) {
    	require.NoError(t, os.RemoveAll(socketDir))
    	os.MkdirAll(socketDir, 0755)
    }
    
    func waitForRegistration(t *testing.T, fakePluginHandler *fakePluginHandler, pluginName string) {
    	expected := []string{"validate " + pluginName, "register " + pluginName}
    	err := retryWithExponentialBackOff(
    		100*time.Millisecond,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top