p2p: test fix

This commit is contained in:
Ethan Buchman
2017-09-05 17:10:11 -04:00
parent 6ddc30ffc7
commit cc2b418f7f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -120,7 +120,7 @@ func TestPEXReactorReceive(t *testing.T) {
dir, err := ioutil.TempDir("", "pex_reactor")
require.Nil(err)
defer os.RemoveAll(dir)
book := NewAddrBook(dir+"addrbook.json", true)
book := NewAddrBook(dir+"addrbook.json", false)
book.SetLogger(log.TestingLogger())
r := NewPEXReactor(book)
+1 -1
View File
@@ -13,7 +13,7 @@ import (
)
func TestMain(m *testing.M) {
// start a tendermint node (and merkleeyes) in the background to test against
// start a tendermint node in the background to test against
app := dummy.NewDummyApplication()
node := rpctest.StartTendermint(app)
code := m.Run()