tianxiaoliang commented on a change in pull request #228:
URL: https://github.com/apache/servicecomb-kie/pull/228#discussion_r757180783
##########
File path: server/service/kv/kv_svc_test.go
##########
@@ -178,3 +180,90 @@ func TestService_Delete(t *testing.T) {
assert.NoError(t, err)
})
}
+
+// Test the situation after the synchronization is turned on
+func TestSync(t *testing.T) {
+ // start syncer
+ kcfg.Configurations.Sync.Enabled = true
+ var syncKVIDOne, syncKVIDTwo, syncKVIDThree string
+ // create three kvDoc
+ t.Run("create kv one,with labels app and service, should pass", func(t
*testing.T) {
Review comment:
可以用嵌套的t.Run 减少维护的重复name
--
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]