Skip to content
Snippets Groups Projects
Commit 6faf3d7e authored by capossele's avatar capossele
Browse files

:arrow_up: updates gossip

parent e0bc9931
No related branches found
No related tags found
No related merge requests found
......@@ -6,11 +6,11 @@ import (
"testing"
"time"
pb "github.com/iotaledger/goshimmer/packages/gossip/proto"
"github.com/iotaledger/goshimmer/packages/gossip/transport"
"github.com/golang/protobuf/proto"
"github.com/iotaledger/autopeering-sim/peer"
"github.com/iotaledger/autopeering-sim/peer/service"
pb "github.com/iotaledger/goshimmer/packages/gossip/proto"
"github.com/iotaledger/goshimmer/packages/gossip/transport"
"github.com/iotaledger/hive.go/events"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/mock"
......@@ -118,7 +118,7 @@ func TestClosedConnection(t *testing.T) {
eventMock.On("neighborDroppedEvent", &NeighborDroppedEvent{Peer: peerB}).Once()
// A drops B
err := mgrA.NeighborDropped(peerB.ID())
err := mgrA.DropNeighbor(peerB.ID())
require.NoError(t, err)
time.Sleep(graceTime)
......
......@@ -4,9 +4,9 @@ import (
"bytes"
"time"
pb "github.com/iotaledger/goshimmer/packages/gossip/transport/proto"
"github.com/golang/protobuf/proto"
"github.com/iotaledger/autopeering-sim/server"
pb "github.com/iotaledger/goshimmer/packages/gossip/transport/proto"
)
const (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment