test: define a default WithAuth to resolve error Unresolved reference 'WithAuth' from IDE

Signed-off-by: Benjamin Wang <wachao@vmware.com>
This commit is contained in:
Benjamin Wang
2022-10-26 14:30:47 +08:00
parent 8ce81a1624
commit 42cfb74b4c
5 changed files with 38 additions and 4 deletions

View File

@@ -22,7 +22,7 @@ import (
"go.etcd.io/etcd/tests/v3/framework/config"
)
type testRunner interface {
type TestRunner interface {
TestMain(m *testing.M)
BeforeTest(testing.TB)
NewCluster(context.Context, testing.TB, config.ClusterConfig) Cluster