fix: [skip e2e]use unique topic name for test pulsarCtl (#30364)

See also: #30363

Signed-off-by: yangxuan <xuan.yang@zilliz.com>
pull/30377/head
XuanYang-cn 2024-02-01 11:05:04 +08:00 committed by GitHub
parent be8831b311
commit e0f371c99b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -702,7 +702,7 @@ func TestPulsarClient_WithTenantAndNamespace(t *testing.T) {
}
func TestPulsarCtl(t *testing.T) {
topic := "test"
topic := "test-pulsar-ctl"
subName := "hello"
pulsarAddress := getPulsarAddress()
@ -763,9 +763,9 @@ func TestPulsarCtl(t *testing.T) {
BufSize: 1024,
SubscriptionInitialPosition: mqwrapper.SubscriptionPositionEarliest,
})
defer consumer2.Close()
assert.NoError(t, err)
assert.NotNil(t, consumer2)
defer consumer2.Close()
}
func NewPulsarAdminClient() {