mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-06 16:06:51 +00:00
Merge pull request #22919 from liggitt/http-test-etcd
Automatic merge from submit-queue Allow starting test etcd with http There are cases where we'll want to start a test etcd without https (external tools monitoring tests, tests with lots of parallelism, etc). This makes it an option. Helps with https://github.com/kubernetes/kubernetes/issues/23127 <!-- Reviewable:start --> --- This change is [<img src="http://reviewable.k8s.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](http://reviewable.k8s.io/reviews/kubernetes/kubernetes/22919) <!-- Reviewable:end -->
This commit is contained in:
@@ -69,7 +69,7 @@ import (
|
||||
|
||||
// setUp is a convience function for setting up for (most) tests.
|
||||
func setUp(t *testing.T) (*Master, *etcdtesting.EtcdTestServer, Config, *assert.Assertions) {
|
||||
server := etcdtesting.NewEtcdTestClientServer(t)
|
||||
server := etcdtesting.NewUnsecuredEtcdTestClientServer(t)
|
||||
|
||||
master := &Master{
|
||||
GenericAPIServer: &genericapiserver.GenericAPIServer{},
|
||||
|
||||
Reference in New Issue
Block a user