(t *testing.T)
| 76 | return server |
| 77 | } |
| 78 | func TestIsPeerAlive(t *testing.T) { |
| 79 | server := constructServer() |
| 80 | server.peerPool = peerPool() |
| 81 | res := server.isPeerAlive(2, 1) |
| 82 | t.Logf("TestIsPeerAlive: %v", res) |
| 83 | } |
| 84 | |
| 85 | func TestIsPeerActive(t *testing.T) { |
| 86 | server := constructServer() |
nothing calls this directly
no test coverage detected