little-cui commented on a change in pull request #1261:
URL:
https://github.com/apache/servicecomb-service-center/pull/1261#discussion_r805778495
##########
File path: syncer/service/tombstone/tombstone_test.go
##########
@@ -80,21 +78,15 @@ func TestDeleteExpireTombStone(t *testing.T) {
err := synctombstone.DeleteExpireTombStone()
assert.Nil(t, err)
- listReq := model.ListTombstoneRequest{
- Domain: testDomain,
- Project: testProject,
- }
+ listReq := model.ListTombstoneRequest{}
tombstones, err := tombstone.List(context.Background(),
&listReq)
assert.Nil(t, err)
assert.Equal(t, 1, len(tombstones))
Review comment:
需要增加检查某一tombstone元素的各个字段值,是否符合预期
--
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]