mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-04 01:36:24 +01:00
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:
parent
266cd97573
commit
2b4de46c72
3 changed files with 3 additions and 2 deletions
|
@ -228,6 +228,9 @@ data.
|
||||||
* [Add Custom Message to the fuzz testsuite
|
* [Add Custom Message to the fuzz testsuite
|
||||||
in the lnwire package](https://github.com/lightningnetwork/lnd/pull/7303)
|
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`
|
## `lncli`
|
||||||
|
|
||||||
* [Add an `insecure` flag to skip tls auth as well as a `metadata` string slice
|
* [Add an `insecure` flag to skip tls auth as well as a `metadata` string slice
|
||||||
|
|
|
@ -81,7 +81,6 @@ func TestNewEtcdClient(t *testing.T) {
|
||||||
t.Parallel()
|
t.Parallel()
|
||||||
|
|
||||||
f := NewEtcdTestFixture(t)
|
f := NewEtcdTestFixture(t)
|
||||||
defer f.Cleanup()
|
|
||||||
|
|
||||||
client, ctx, cancel, err := NewEtcdClient(
|
client, ctx, cancel, err := NewEtcdClient(
|
||||||
context.Background(), f.BackendConfig(),
|
context.Background(), f.BackendConfig(),
|
||||||
|
|
|
@ -158,7 +158,6 @@ func TestEtcd(t *testing.T) {
|
||||||
t.Parallel()
|
t.Parallel()
|
||||||
|
|
||||||
f := etcd.NewEtcdTestFixture(t)
|
f := etcd.NewEtcdTestFixture(t)
|
||||||
defer f.Cleanup()
|
|
||||||
|
|
||||||
test.test(t, f.NewBackend(doRwLock))
|
test.test(t, f.NewBackend(doRwLock))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue