mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-20 17:31:11 +00:00
15 lines
291 B
Go
15 lines
291 B
Go
|
//go:build integration
|
||
|
// +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)
|
||
|
}
|
||
|
}
|