Skip to content

Commit

Permalink
Merge pull request kubernetes#3203 from thockin/integ
Browse files Browse the repository at this point in the history
Integration test scaffolding fixes
  • Loading branch information
erictune committed Jan 5, 2015
2 parents a377f1b + a57976b commit 4432ba0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/integration/integration.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ limitations under the License.
package main

import (
"flag"
"io/ioutil"
"net"
"net/http"
Expand Down Expand Up @@ -172,7 +173,7 @@ func startComponents(manifestURL string) (apiServerURL string) {
schedulerConfigFactory := factory.NewConfigFactory(cl)
schedulerConfig, err := schedulerConfigFactory.Create()
if err != nil {
glog.Fatal("Couldn't create scheduler config: %v", err)
glog.Fatalf("Couldn't create scheduler config: %v", err)
}
scheduler.New(schedulerConfig).Run()

Expand Down Expand Up @@ -548,6 +549,7 @@ func runServiceTest(client *client.Client) {
type testFunc func(*client.Client)

func main() {
flag.Parse()
runtime.GOMAXPROCS(runtime.NumCPU())
util.ReallyCrash = true
util.InitLogs()
Expand Down
1 change: 1 addition & 0 deletions pkg/standalone/standalone.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ func SimpleRunKubelet(etcdClient tools.EtcdClient, dockerClient dockertools.Dock
Address: util.IP(net.ParseIP(address)),
EnableServer: true,
EnableDebuggingHandlers: true,
SyncFrequency: 3 * time.Second,
}
RunKubelet(&kcfg)
}
Expand Down

0 comments on commit 4432ba0

Please sign in to comment.