Skip to content

Commit

Permalink
fix(ci): fix dot/network unit tests (#2572)
Browse files Browse the repository at this point in the history
* move to integration test, hardcode protocol id

* remove logs, restore original test

* cr feedback
  • Loading branch information
timwu20 committed Jul 29, 2022
1 parent bba0e1d commit 9cace3c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dot/network/gossip_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,9 @@ func TestGossip(t *testing.T) {
Digest: types.NewDigest(),
}

_, err = nodeA.host.send(addrInfoB.ID, "", announceMessage)
time.Sleep(TestMessageTimeout)

_, err = nodeA.host.send(addrInfoB.ID, "/gossamer/test/0/block-announces/1", announceMessage)
require.NoError(t, err)

time.Sleep(TestMessageTimeout)
Expand Down

0 comments on commit 9cace3c

Please sign in to comment.