Skip to content

Commit be768d2

Browse files
committed
fix nacos_test
1 parent d1b833e commit be768d2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

registry/nacos/nacoshertz/v2/nacos_test.go

+1
Original file line numberDiff line numberDiff line change
@@ -419,6 +419,7 @@ func TestCompareMaps(t *testing.T) {
419419

420420
// TestHertzAppWithNacosRegistry test a client call a hertz app with NacosRegistry
421421
func TestHertzAppWithNacosRegistry(t *testing.T) {
422+
namingClient = getNamingClient()
422423
register := NewNacosRegistry(namingClient)
423424
address := "127.0.0.1:4576"
424425
srvName := "d.h.t"

0 commit comments

Comments
 (0)