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

@@ -200,7 +200,7 @@ type testContext struct {
// if workerCount > 0, will start the GC, otherwise it's up to the caller to Run() the GC.
func setup(t *testing.T, workerCount int) *testContext {
return setupWithServer(t, kubeapiservertesting.StartTestServerOrDie(t, nil, framework.SharedEtcd()), workerCount)
return setupWithServer(t, kubeapiservertesting.StartTestServerOrDie(t, nil, nil, framework.SharedEtcd()), workerCount)
}
func setupWithServer(t *testing.T, result *kubeapiservertesting.TestServer, workerCount int) *testContext {