We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9bba97 commit d615e8cCopy full SHA for d615e8c
store/etcdv3/embedded/embeded.go
@@ -1,6 +1,8 @@
1
package embedded
2
3
import (
4
+ "flag"
5
+ "os"
6
"testing"
7
8
"go.etcd.io/etcd/client/v3/namespace"
@@ -13,6 +15,9 @@ var clusters map[string]*integration.ClusterV3 = map[string]*integration.Cluster
13
15
func NewCluster(t *testing.T, prefix string) *integration.ClusterV3 {
14
16
cluster := clusters[t.Name()]
17
if cluster == nil {
18
+ os.Args = []string{"test.short=false"}
19
+ testing.Init()
20
+ flag.Parse()
21
integration.BeforeTestExternal(t)
22
cluster = integration.NewClusterV3(t, &integration.ClusterConfig{Size: 1})
23
t.Cleanup(func() {
0 commit comments