mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 22:17:14 +00:00
fix EtcdTestClientServer leaking clients
This commit is contained in:
parent
610a978e48
commit
6ccf09886b
@ -27,8 +27,9 @@ import (
|
||||
)
|
||||
|
||||
func TestPodLogValidates(t *testing.T) {
|
||||
etcdStorage, _ := registrytest.NewEtcdStorage(t, "")
|
||||
s, destroyFunc := generic.NewRawStorage(etcdStorage)
|
||||
config, server := registrytest.NewEtcdStorage(t, "")
|
||||
defer server.Terminate(t)
|
||||
s, destroyFunc := generic.NewRawStorage(config)
|
||||
defer destroyFunc()
|
||||
store := ®istry.Store{
|
||||
Storage: s,
|
||||
|
Loading…
Reference in New Issue
Block a user