fix test case log

This commit is contained in:
thinkAfCod 2024-09-25 15:38:33 +08:00 committed by Chen Kai
parent 319421f952
commit 7c5231ce74

View file

@ -413,6 +413,12 @@ func TestContentLookup(t *testing.T) {
err = node3.Start() err = node3.Start()
assert.NoError(t, err) assert.NoError(t, err)
defer func() {
node1.Stop()
node2.Stop()
node3.Stop()
}()
contentKey := []byte{0x3, 0x4} contentKey := []byte{0x3, 0x4}
content := []byte{0x1, 0x2} content := []byte{0x1, 0x2}
contentId := node1.toContentId(contentKey) contentId := node1.toContentId(contentKey)