Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Test_DSW_RemovePlugin_Positive (0.19 sec)

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

    	}
    }
    
    // Calls RemovePlugin() to remove a plugin
    // Verifies newly removed plugin no longer exists in GetPluginsToRegister()
    // Verifies newly removed plugin returns false for PluginExists()
    func Test_DSW_RemovePlugin_Positive(t *testing.T) {
    	// First, add a plugin
    	dsw := NewDesiredStateOfWorld()
    	socketPath := "/var/lib/kubelet/device-plugins/test-plugin.sock"
    	err := dsw.AddOrUpdatePlugin(socketPath)
    	// Assert
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 18 12:18:41 UTC 2023
    - 5.2K bytes
    - Viewed (0)
Back to top