mirror of
https://github.com/logos-messaging/go-libp2p-pubsub.git
synced 2026-01-07 15:23:08 +00:00
clean up
This commit is contained in:
parent
309d45acef
commit
b0d384d2e8
@ -1570,10 +1570,9 @@ func TestGossipsubPiggybackControl(t *testing.T) {
|
|||||||
func TestGossipsubMultipleGraftTopics(t *testing.T) {
|
func TestGossipsubMultipleGraftTopics(t *testing.T) {
|
||||||
ctx, cancel := context.WithCancel(context.Background())
|
ctx, cancel := context.WithCancel(context.Background())
|
||||||
defer cancel()
|
defer cancel()
|
||||||
|
|
||||||
hosts := getNetHosts(t, ctx, 2)
|
hosts := getNetHosts(t, ctx, 2)
|
||||||
|
|
||||||
psubs := getGossipsubs(ctx, hosts)
|
psubs := getGossipsubs(ctx, hosts)
|
||||||
|
|
||||||
sparseConnect(t, hosts)
|
sparseConnect(t, hosts)
|
||||||
|
|
||||||
time.Sleep(time.Second * 1)
|
time.Sleep(time.Second * 1)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user