kvdb+docs: remove etcd test fixture cleanup calls

Remove the cleanup calls which no longer exist since `t.Cleanup` is now
called from within `NewEtcdTestFixture`
This commit is contained in:
Elle Mouton 2023-01-24 09:05:59 +02:00
parent 266cd97573
commit 2b4de46c72
No known key found for this signature in database
GPG key ID: D7D916376026F177
3 changed files with 3 additions and 2 deletions

View file

@ -228,6 +228,9 @@ data.
* [Add Custom Message to the fuzz testsuite
in the lnwire package](https://github.com/lightningnetwork/lnd/pull/7303)
* [Remove non-existent Cleanup calls from etcd test code in the `kvdb`
package](https://github.com/lightningnetwork/lnd/pull/7352)
## `lncli`
* [Add an `insecure` flag to skip tls auth as well as a `metadata` string slice

View file

@ -81,7 +81,6 @@ func TestNewEtcdClient(t *testing.T) {
t.Parallel()
f := NewEtcdTestFixture(t)
defer f.Cleanup()
client, ctx, cancel, err := NewEtcdClient(
context.Background(), f.BackendConfig(),

View file

@ -158,7 +158,6 @@ func TestEtcd(t *testing.T) {
t.Parallel()
f := etcd.NewEtcdTestFixture(t)
defer f.Cleanup()
test.test(t, f.NewBackend(doRwLock))