mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-06 19:52:42 +00:00
Add test coverage and fix a few minor problems
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user