We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e68a14 commit f11da2fCopy full SHA for f11da2f
network/p2p/gossip/gossip_test.go
@@ -209,7 +209,7 @@ func TestValidatorGossiper(t *testing.T) {
209
210
nodeID := ids.GenerateTestNodeID()
211
212
- validators := testValidatorSet{
+ validators := &testValidatorSet{
213
validators: set.Of(nodeID),
214
}
215
@@ -232,7 +232,7 @@ func TestValidatorGossiper(t *testing.T) {
232
// we are not a validator, so we should not request gossip
233
validators.validators = set.Set[ids.NodeID]{}
234
require.NoError(gossiper.Gossip(context.Background()))
235
- require.Equal(2, calls)
+ require.Equal(1, calls)
236
237
238
func TestPushGossiperNew(t *testing.T) {
0 commit comments