erigon-pulse/p2p/dial_integration_test.go
battlmonstr 7754f53385
p2p (#4119): treat slow integration tests (#4136)
* TestTable_ReadRandomNodesGetAll: refactor to integration and examples
* TestTable_bumpNoDuplicates: refactor to integration and examples
* TestUDPv4_smallNetConvergence: speed up from 1.7s to 0.3s by applying the test config
* TestUPNP_DDWRT: move to integration tests
* TestFairMix: split in 2, do more iterations in integration tests
* TestDialSched: speed up from 1s to 0.2s by removing the unexpected dial check,
  (keep the check during the integration tests)
2022-05-13 10:18:55 +07:00

11 lines
152 B
Go

//go:build integration
// +build integration
package p2p
import "time"
func init() {
dialTestDialerUnexpectedDialTimeout = 150 * time.Millisecond
}