package agent import ( "os" "testing" "time" ) func TestMain(m *testing.M) { // Half a gigabyte read per test binary, and contending with the tests // for the CPUs: these never look at the figure. measureBandwidth = func() float64 { return 0 } bandwidthDelay = func() time.Duration { return 0 } os.Exit(m.Run()) }