Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for aswPlugins (0.11 sec)

  1. pkg/kubelet/pluginmanager/cache/actual_state_of_world_test.go

    	}
    
    	// Get registered plugins and check the newly added plugin is there
    	aswPlugins := asw.GetRegisteredPlugins()
    	if len(aswPlugins) != 1 {
    		t.Fatalf("Actual state of world length should be one but it's %d", len(aswPlugins))
    	}
    	if aswPlugins[0] != pluginInfo {
    		t.Fatalf("Expected\n%v\nin actual state of world, but got\n%v\n", pluginInfo, aswPlugins[0])
    	}
    
    	// Check PluginExistsWithCorrectTimestamp returns true
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 18 12:18:41 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  2. pkg/kubelet/pluginmanager/reconciler/reconciler_test.go

    	// Get asw plugins; it should contain the added plugin
    	aswPlugins := asw.GetRegisteredPlugins()
    	if len(aswPlugins) != 1 {
    		t.Fatalf("Test_Run_Positive_Register: actual state of world length should be one but it's %d", len(aswPlugins))
    	}
    	if aswPlugins[0].SocketPath != socketPath {
    		t.Fatalf("Test_Run_Positive_Register: expected\n%s\nin actual state of world, but got\n%v\n", socketPath, aswPlugins[0])
    	}
    }
    
    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/cache/desired_state_of_world_test.go

    	dswPlugins := dsw.GetPluginsToRegister()
    	if len(dswPlugins) != 1 {
    		t.Fatalf("Desired state of world length should be one but it's %d", len(dswPlugins))
    	}
    	if dswPlugins[0].SocketPath != socketPath {
    		t.Fatalf("Expected\n%s\nin desired state of world, but got\n%v\n", socketPath, dswPlugins[0])
    	}
    	oldTimestamp := dswPlugins[0].Timestamp
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 18 12:18:41 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  4. pkg/kubelet/pluginmanager/pluginwatcher/plugin_watcher_test.go

    		// Check the dsw cache. The updated plugin should be the only plugin in it
    		dswPlugins := dsw.GetPluginsToRegister()
    		if len(dswPlugins) != 1 {
    			t.Fatalf("TestPluginReRegistration: desired state of world length should be 1 but it's %d", len(dswPlugins))
    		}
    		if !dswPlugins[0].Timestamp.After(lastTimestamp) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 04 06:56:50 UTC 2023
    - 8K bytes
    - Viewed (0)
Back to top