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

@@ -16,7 +16,7 @@ package framework
var (
// UnitTestRunner only runs in `--short` mode, will fail otherwise. Attempts in cluster creation will result in tests being skipped.
UnitTestRunner testRunner = unitRunner{}
UnitTestRunner TestRunner = unitRunner{}
// E2eTestRunner runs etcd and etcdctl binaries in a separate process.
E2eTestRunner = e2eRunner{}
// IntegrationTestRunner runs etcdserver.EtcdServer in separate goroutine and uses client libraries to communicate.