Not asking for sudo passwords for password-less sudo users any more
Running hack/make-rules/test-e2e-node.sh or test/e2e_node/conformance/run_test.sh with a password-less sudo user on a dev box right now requires to first create a password for that user, and then type it every time one wants to run these tests. This patch is fixing this by not asking for sudo credentials if it seems the user can run any command without a password. Signed-off-by: Jean Rouge <rougej+github@gmail.com>
This commit is contained in:
@@ -60,7 +60,7 @@ func setDesiredConfiguration(initialConfig *kubeletconfig.KubeletConfiguration)
|
||||
var _ = framework.KubeDescribe("Node Container Manager [Serial]", func() {
|
||||
f := framework.NewDefaultFramework("node-container-manager")
|
||||
Describe("Validate Node Allocatable [NodeFeature:NodeAllocatable]", func() {
|
||||
It("set's up the node and runs the test", func() {
|
||||
It("sets up the node and runs the test", func() {
|
||||
framework.ExpectNoError(runTest(f))
|
||||
})
|
||||
})
|
||||
|
Reference in New Issue
Block a user