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
3 changed files with 3 additions and 2 deletions

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))