mirror of https://github.com/k3s-io/k3s
Merge pull request #31494 from hongchaodeng/fix3
Automatic merge from submit-queue fix EtcdTestClientServer leaking clients Continued on https://github.com/kubernetes/kubernetes/pull/31390#discussion_r76360860pull/6/head
commit
542e5f9c5e
|
@ -27,8 +27,9 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestPodLogValidates(t *testing.T) {
|
func TestPodLogValidates(t *testing.T) {
|
||||||
etcdStorage, _ := registrytest.NewEtcdStorage(t, "")
|
config, server := registrytest.NewEtcdStorage(t, "")
|
||||||
s, destroyFunc := generic.NewRawStorage(etcdStorage)
|
defer server.Terminate(t)
|
||||||
|
s, destroyFunc := generic.NewRawStorage(config)
|
||||||
defer destroyFunc()
|
defer destroyFunc()
|
||||||
store := ®istry.Store{
|
store := ®istry.Store{
|
||||||
Storage: s,
|
Storage: s,
|
||||||
|
|
Loading…
Reference in New Issue