Skip to content

Commit

Permalink
Version 0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
guseggert authored and aschmahmann committed Nov 22, 2021
1 parent abebab9 commit 1d5fc5c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
11 changes: 9 additions & 2 deletions pubsub_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,14 @@ import (

func newNetHost(ctx context.Context, t *testing.T) host.Host {
netw := swarmt.GenSwarm(t)
t.Cleanup(func() { netw.Close() })
return bhost.NewBlankHost(netw)
bh := bhost.NewBlankHost(netw)
t.Cleanup(func() {
err := bh.Close()
if err != nil {
panic(err)
}
})
return bh
}

func newNetHosts(ctx context.Context, t *testing.T, n int) []host.Host {
Expand All @@ -33,6 +39,7 @@ func newNetHosts(ctx context.Context, t *testing.T, n int) []host.Host {
out = append(out, h)
}

time.Sleep(3 * time.Second)
return out
}

Expand Down
2 changes: 1 addition & 1 deletion version.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"version": "v0.4.0"
"version": "v0.5.0"
}

0 comments on commit 1d5fc5c

Please sign in to comment.