Merge pull request #40144 from wojtek-t/unstructured_benchmark

Automatic merge from submit-queue (batch tested with PRs 40150, 40144)

Unstructured benchmark

Ref #39017
This commit is contained in:
Kubernetes Submit Queue
2017-01-19 10:17:09 -08:00
committed by GitHub
4 changed files with 185 additions and 3 deletions

View File

@@ -519,7 +519,7 @@ const benchmarkSeed = 100
func benchmarkItems() []v1.Pod {
apiObjectFuzzer := apitesting.FuzzerFor(nil, api.SchemeGroupVersion, rand.NewSource(benchmarkSeed))
items := make([]v1.Pod, 2)
items := make([]v1.Pod, 10)
for i := range items {
var pod api.Pod
apiObjectFuzzer.Fuzz(&pod)