Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,14 @@ func TestTwoNodePartialColumnExchange(t *testing.T) {
h1 := meta.Nodes[0]
h2 := meta.Nodes[1]

// Connect hosts
err = h1.Connect(context.Background(), peer.AddrInfo{
ID: h2.ID(),
Addrs: h2.Addrs(),
})
require.NoError(t, err)
time.Sleep(300 * time.Millisecond)

logger := logrus.New()
logger.SetLevel(logrus.DebugLevel)
bcastCtx1, cancelBcast1 := context.WithCancel(t.Context())
Expand Down Expand Up @@ -210,14 +218,6 @@ func TestTwoNodePartialColumnExchange(t *testing.T) {
}
}

// Connect hosts
err = h1.Connect(context.Background(), peer.AddrInfo{
ID: h2.ID(),
Addrs: h2.Addrs(),
})
require.NoError(t, err)
time.Sleep(300 * time.Millisecond)

// Subscribe to regular GossipSub (critical for partial message RPC exchange!)
sub1, err := topic1.Subscribe()
require.NoError(t, err)
Expand Down
Loading