Add test coverage and fix a few minor problems

This commit is contained in:
Clayton Coleman
2014-10-28 22:48:59 -04:00
parent eac933eb44
commit 71fecef6f6
6 changed files with 290 additions and 5 deletions

View File

@@ -118,7 +118,7 @@ func startComponents(manifestURL string) (apiServerURL string) {
}
cl := client.NewOrDie(&client.Config{Host: apiServer.URL, Version: testapi.Version()})
cl.PollPeriod = time.Second * 1
cl.PollPeriod = time.Millisecond * 100
cl.Sync = true
helper, err := master.NewEtcdHelper(etcdClient, "")
@@ -292,7 +292,6 @@ func runAtomicPutTest(c *client.Client) {
err := c.Get().
Path("services").
Path(svc.Name).
PollPeriod(100 * time.Millisecond).
Do().
Into(&tmpSvc)
if err != nil {