mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-09 21:21:14 +00:00
Refactor RegisterRetryCount, improve tests
This commit is contained in:
@@ -203,8 +203,8 @@ func startComponents(manifestURL string) (apiServerURL string) {
|
||||
|
||||
nodeResources := &api.NodeResources{}
|
||||
|
||||
nodeController := nodeControllerPkg.NewNodeController(nil, "", machineList, nodeResources, cl, fakeKubeletClient{}, 5*time.Minute)
|
||||
nodeController.Run(5*time.Second, 10, true)
|
||||
nodeController := nodeControllerPkg.NewNodeController(nil, "", machineList, nodeResources, cl, fakeKubeletClient{}, 10, 5*time.Minute)
|
||||
nodeController.Run(5*time.Second, true)
|
||||
|
||||
// Kubelet (localhost)
|
||||
testRootDir := makeTempDirOrDie("kubelet_integ_1.")
|
||||
|
Reference in New Issue
Block a user