mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-07 09:38:39 +08:00
issue: #43897 - The original broadcast ack operation need to recover message from etcd, which can not support cdc. - immutable message will set as the ack parameter to fix it. Signed-off-by: chyezh <chyezh@outlook.com>
22 lines
378 B
Go
22 lines
378 B
Go
package client
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
|
|
kvfactory "github.com/milvus-io/milvus/internal/util/dependency/kv"
|
|
"github.com/milvus-io/milvus/pkg/v2/util/paramtable"
|
|
)
|
|
|
|
func TestDial(t *testing.T) {
|
|
paramtable.Init()
|
|
|
|
c, _ := kvfactory.GetEtcdAndPath()
|
|
assert.NotNil(t, c)
|
|
|
|
client := NewClient(c)
|
|
assert.NotNil(t, client)
|
|
client.Close()
|
|
}
|