insert space after comment character in cmd folder
This commit is contained in:
@@ -209,21 +209,21 @@ func Test_getProxyMode(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
//This test verifies that Proxy Server does not crash that means
|
||||
//Config and iptinterface are not nil when CleanupAndExit is true.
|
||||
//To avoid proxy crash: https://github.com/kubernetes/kubernetes/pull/14736
|
||||
// This test verifies that Proxy Server does not crash that means
|
||||
// Config and iptinterface are not nil when CleanupAndExit is true.
|
||||
// To avoid proxy crash: https://github.com/kubernetes/kubernetes/pull/14736
|
||||
func TestProxyServerWithCleanupAndExit(t *testing.T) {
|
||||
|
||||
//creates default config
|
||||
// creates default config
|
||||
config := options.NewProxyConfig()
|
||||
|
||||
//sets CleanupAndExit manually
|
||||
// sets CleanupAndExit manually
|
||||
config.CleanupAndExit = true
|
||||
|
||||
//creates new proxy server
|
||||
// creates new proxy server
|
||||
proxyserver, err := NewProxyServerDefault(config)
|
||||
|
||||
//verifies that nothing is nill except error
|
||||
// verifies that nothing is nill except error
|
||||
assert.Nil(t, err)
|
||||
assert.NotNil(t, proxyserver)
|
||||
assert.NotNil(t, proxyserver.Config)
|
||||
|
Reference in New Issue
Block a user