Skip to content

Commit

Permalink
feat: add nacos v2
Browse files Browse the repository at this point in the history
  • Loading branch information
Skyenought committed Jan 11, 2024
1 parent 056bcec commit c377c69
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nacos/v2/nacos_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ func TestRegistryAndDeregister(t *testing.T) {
// TestMultipleInstances test registry multiple service,then deregister one
func TestMultipleInstances(t *testing.T) {
var (
svcName = "MultipleInstances"
svcName = "_MultipleInstances"
clusterName = "TheCluster"
groupName = "TheGroup"
)
Expand All @@ -161,6 +161,7 @@ func TestMultipleInstances(t *testing.T) {
ServiceName: svcName,
GroupName: groupName,
Clusters: []string{clusterName},
HealthyOnly: true,
})
assert.Nil(t, err)
assert.Equal(t, 1, len(res))
Expand Down

0 comments on commit c377c69

Please sign in to comment.