Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestCmdInitFeatureGates (0.16 sec)

  1. cmd/kubeadm/test/cmd/init_test.go

    					(err == nil),
    				)
    			}
    		})
    	}
    }
    
    // TestCmdInitFeatureGates test that feature gates won't make kubeadm panic.
    // When go panics it will exit with a 2 code. While we don't expect the init
    // calls to succeed in these tests, we ensure that the exit code of calling
    // kubeadm with different feature gates is not 2.
    func TestCmdInitFeatureGates(t *testing.T) {
    	const PanicExitcode = 2
    
    	initTest := []struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 18 01:03:09 UTC 2023
    - 6.4K bytes
    - Viewed (0)
Back to top