(t *testing.T)
| 97 | } |
| 98 | |
| 99 | func TestIs2ndProposer(t *testing.T) { |
| 100 | server := constructServer() |
| 101 | server.peerPool = peerPool() |
| 102 | res := server.is2ndProposer(1, 1) |
| 103 | t.Logf("TestIs2ndProposer %v", res) |
| 104 | } |
| 105 | |
| 106 | func TestIsEndorser(t *testing.T) { |
| 107 | server := constructServer() |
nothing calls this directly
no test coverage detected