Merge pull request #27568 from lavalamp/faster

Automatic merge from submit-queue

Make unit tests faster
This commit is contained in:
k8s-merge-robot
2016-06-16 16:11:05 -07:00
committed by GitHub
3 changed files with 8 additions and 27 deletions

View File

@@ -155,9 +155,9 @@ func startMasterOrDie(masterConfig *master.Config) (*master.Master, *httptest.Se
func NewMasterConfig() *master.Config {
config := storagebackend.Config{
ServerList: []string{"http://127.0.0.1:4001"},
// TODO: this is a quick hack to work around #27179. It
// conveniently exercises the prefix code, so maybe it's worth
// leaving in.
// This causes the integration tests to exercise the etcd
// prefix code, so please don't change without ensuring
// sufficient coverage in other ways.
Prefix: uuid.New(),
}