Add a benchmark for pod creation

This adds a benchmark for pod creation and makes the mock_test
provider actually work correctly in concurrent situations.
This commit is contained in:
Sargun Dhillon
2019-07-27 12:43:39 -07:00
parent ce38d72c0e
commit bd8e39e3f9
4 changed files with 67 additions and 13 deletions

1
go.mod
View File

@@ -28,6 +28,7 @@ require (
github.com/modern-go/reflect2 v1.0.1 // indirect
github.com/onsi/ginkgo v1.8.0 // indirect
github.com/onsi/gomega v1.5.0 // indirect
github.com/pborman/uuid v1.2.0 // indirect
github.com/peterbourgon/diskv v2.0.1+incompatible // indirect
github.com/pkg/errors v0.8.1
github.com/sirupsen/logrus v1.4.1