Fix integration test

This commit is contained in:
derekwaynecarr
2014-09-30 14:31:17 -04:00
parent 02e1a2e79d
commit de1f94cbc7
2 changed files with 3 additions and 3 deletions

View File

@@ -106,7 +106,7 @@ func startComponents(manifestURL string) (apiServerURL string) {
}
}
cl := client.NewOrDie(apiServer.URL, "", nil)
cl := client.NewOrDie(api.NewContext(), apiServer.URL, "", nil)
cl.PollPeriod = time.Second * 1
cl.Sync = true
@@ -311,7 +311,7 @@ func main() {
// Wait for the synchronization threads to come up.
time.Sleep(time.Second * 10)
kubeClient := client.NewOrDie(apiServerURL, "", nil)
kubeClient := client.NewOrDie(api.NewContext(), apiServerURL, "", nil)
// Run tests in parallel
testFuncs := []testFunc{