github.com/projecteru2/core@v0.0.0-20240321043226-06bcc1c23f58/store/etcdv3/embedded/embeded_test.go (about) 1 package embedded 2 3 import ( 4 "context" 5 "testing" 6 7 "github.com/stretchr/testify/assert" 8 ) 9 10 func TestEmbededCluster(t *testing.T) { 11 embededETCD := NewCluster(t, "/test") 12 cliv3 := embededETCD.RandClient() 13 _, err := cliv3.MemberList(context.Background()) 14 assert.NoError(t, err) 15 }