Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for aswPlugins (0.17 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/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)
  3. 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