mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-02 16:29:21 +00:00
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_r76360860
This commit is contained in:
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
Block a user