master count and lease endpoint tests

This commit is contained in:
Ryan Phillips
2018-02-28 13:37:42 -06:00
parent c0d1ab8e99
commit efe19e4acb
9 changed files with 147 additions and 15 deletions

View File

@@ -29,7 +29,7 @@ import (
func runBasicSecureAPIServer(t *testing.T, ciphers []string) (kubeapiservertesting.TearDownFunc, int) {
flags := []string{"--tls-cipher-suites", strings.Join(ciphers, ",")}
testServer := kubeapiservertesting.StartTestServerOrDie(t, flags, framework.SharedEtcd())
testServer := kubeapiservertesting.StartTestServerOrDie(t, nil, flags, framework.SharedEtcd())
return testServer.TearDownFn, testServer.ServerOpts.SecureServing.BindPort
}