xxs588 commented on code in PR #3269:
URL: https://github.com/apache/dubbo-go/pull/3269#discussion_r2988173008


##########
registry/directory/directory_test.go:
##########
@@ -226,3 +231,112 @@ func TestToGroupInvokers(t *testing.T) {
                assert.Len(t, registryDirectory.toGroupInvokers(), 2)
        })
 }
+
+func TestRegistryDirectoryIsAvailableConcurrentWithCacheUpdates(t *testing.T) {

Review Comment:
   感谢提醒,我现在已经把把 
TestSubscribe、Test_Destroy、Test_MergeProviderUrl、Test_MergeOverrideUrl、Test_RefreshUrl
 里直接读 cacheInvokers 的断言,全部改成了snapshotCacheInvokers() 读取,修复在 #3270  分支里面,go test 
-race ./registry/directory ./registry/nacos 也是通过的



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to