MCPcopy Create free account
hub / github.com/DNAProject/DNA / TestGetActivePeerCount

Function TestGetActivePeerCount

consensus/vbft/peer_pool_test.go:65–69  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

63}
64
65func TestGetActivePeerCount(t *testing.T) {
66 peerpool := constructPeerPool(true)
67 count := peerpool.getActivePeerCount()
68 t.Logf("TestGetActivePeerCount count:%v", count)
69}
70
71func TestPeerHandshake(t *testing.T) {
72 nodeId := "120202c924ed1a67fd1719020ce599d723d09d48362376836e04b0be72dfe825e24d81"

Callers

nothing calls this directly

Calls 2

constructPeerPoolFunction · 0.85
getActivePeerCountMethod · 0.80

Tested by

no test coverage detected