Zhen Ye 3327df72e4
enhance: make immutable message as the param of ack operation for cdc (#43900)
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>
2025-09-01 10:21:52 +08:00

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()
}