Skip to content

Commit

Permalink
test(): Check error during tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxime Wojtczak committed Dec 26, 2019
1 parent 7b3a871 commit 7b34fee
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/integration.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ func LaunchTrapReceiver(port int32) (*snmpgo.TrapServer, chan *snmpgo.TrapReques
Version: snmpgo.V2c,
Community: "public",
})
if err != nil {
return nil, nil, err
}
err = trapServer.AddSecurity(&snmpgo.SecurityEntry{
Version: snmpgo.V3,
SecurityLevel: snmpgo.AuthPriv,
Expand Down

0 comments on commit 7b34fee

Please sign in to comment.