mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-22 19:50:36 +00:00
14 lines
269 B
Go
14 lines
269 B
Go
|
//go:build integration
|
||
|
|
||
|
package enode
|
||
|
|
||
|
import "testing"
|
||
|
|
||
|
// This test checks fairness of FairMix in the happy case where all sources return nodes
|
||
|
// within the context's deadline.
|
||
|
func TestFairMix(t *testing.T) {
|
||
|
for i := 0; i < 500; i++ {
|
||
|
testMixerFairness(t)
|
||
|
}
|
||
|
}
|