mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 09:23:48 +00:00
Add error checking to hive test
This commit is contained in:
parent
a21d3399fc
commit
e091310e95
1 changed files with 5 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ func TestRegisterAndConnect(t *testing.T) {
|
||||||
pp.Start(s.Server)
|
pp.Start(s.Server)
|
||||||
defer pp.Stop()
|
defer pp.Stop()
|
||||||
// retrieve and broadcast
|
// retrieve and broadcast
|
||||||
s.TestExchanges(p2ptest.Exchange{
|
err := s.TestExchanges(p2ptest.Exchange{
|
||||||
Label: "getPeersMsg message",
|
Label: "getPeersMsg message",
|
||||||
Expects: []p2ptest.Expect{
|
Expects: []p2ptest.Expect{
|
||||||
p2ptest.Expect{
|
p2ptest.Expect{
|
||||||
|
|
@ -53,4 +53,8 @@ func TestRegisterAndConnect(t *testing.T) {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
if err != nil {
|
||||||
|
t.Fatal(err)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue