mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 01:13:45 +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)
|
||||
defer pp.Stop()
|
||||
// retrieve and broadcast
|
||||
s.TestExchanges(p2ptest.Exchange{
|
||||
err := s.TestExchanges(p2ptest.Exchange{
|
||||
Label: "getPeersMsg message",
|
||||
Expects: []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