mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 04:33:26 +00:00
Ran ./hack/update-gofmt.sh
This commit is contained in:
parent
6ac7838a19
commit
ec8151d7bb
@ -26,11 +26,11 @@ import (
|
|||||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||||
"k8s.io/apimachinery/pkg/labels"
|
"k8s.io/apimachinery/pkg/labels"
|
||||||
"k8s.io/apimachinery/pkg/runtime"
|
"k8s.io/apimachinery/pkg/runtime"
|
||||||
|
"k8s.io/apimachinery/pkg/util/uuid"
|
||||||
"k8s.io/apimachinery/pkg/watch"
|
"k8s.io/apimachinery/pkg/watch"
|
||||||
"k8s.io/client-go/tools/cache"
|
"k8s.io/client-go/tools/cache"
|
||||||
"k8s.io/kubernetes/test/e2e/framework"
|
"k8s.io/kubernetes/test/e2e/framework"
|
||||||
imageutils "k8s.io/kubernetes/test/utils/image"
|
imageutils "k8s.io/kubernetes/test/utils/image"
|
||||||
"k8s.io/apimachinery/pkg/util/uuid"
|
|
||||||
|
|
||||||
. "github.com/onsi/ginkgo"
|
. "github.com/onsi/ginkgo"
|
||||||
. "github.com/onsi/gomega"
|
. "github.com/onsi/gomega"
|
||||||
@ -75,7 +75,6 @@ var _ = SIGDescribe("[Feature:Windows] Density [Serial] [Slow]", func() {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|
||||||
type densityTest struct {
|
type densityTest struct {
|
||||||
@ -99,7 +98,7 @@ type densityTest struct {
|
|||||||
// runDensityBatchTest runs the density batch pod creation test
|
// runDensityBatchTest runs the density batch pod creation test
|
||||||
func runDensityBatchTest(f *framework.Framework, testArg densityTest) (time.Duration, []framework.PodLatencyData) {
|
func runDensityBatchTest(f *framework.Framework, testArg densityTest) (time.Duration, []framework.PodLatencyData) {
|
||||||
const (
|
const (
|
||||||
podType = "density_test_pod"
|
podType = "density_test_pod"
|
||||||
)
|
)
|
||||||
var (
|
var (
|
||||||
mutex = &sync.Mutex{}
|
mutex = &sync.Mutex{}
|
||||||
@ -222,7 +221,6 @@ func newInformerWatchPod(f *framework.Framework, mutex *sync.Mutex, watchTimes m
|
|||||||
return controller
|
return controller
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// newTestPods creates a list of pods (specification) for test.
|
// newTestPods creates a list of pods (specification) for test.
|
||||||
func newTestPods(numPods int, volume bool, imageName, podType string) []*v1.Pod {
|
func newTestPods(numPods int, volume bool, imageName, podType string) []*v1.Pod {
|
||||||
var pods []*v1.Pod
|
var pods []*v1.Pod
|
||||||
@ -303,4 +301,3 @@ func deletePodsSync(f *framework.Framework, pods []*v1.Pod) {
|
|||||||
wg.Wait()
|
wg.Wait()
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user