Skip to content

Commit

Permalink
test: remove adjust mempool recv buf size and comment
Browse files Browse the repository at this point in the history
The value of N has been changed to 2,
and if change it to any other number, this test will fail.
  • Loading branch information
Jiyong Ha committed May 27, 2021
1 parent ae066d3 commit b66152a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions mempool/reactor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,6 @@ func TestReactorConcurrency(t *testing.T) {
// ensure peer gets no txs.
func TestReactorNoBroadcastToSender(t *testing.T) {
config := cfg.TestConfig()
// In this test, a reactor receives 1000 tx message from a peer.
// A reactor has 3 peer, so up to 3000 txs can be stacked
config.P2P.MempoolRecvBufSize = 3000
const N = 2
reactors := makeAndConnectReactors(config, N)
defer func() {
Expand Down

0 comments on commit b66152a

Please sign in to comment.