mirror of
https://github.com/mulgadc/spinifex.git
synced 2026-10-20 19:25:52 +00:00
15 lines
313 B
Go
15 lines
313 B
Go
package main
|
|
|
|
import (
|
|
"os"
|
|
"testing"
|
|
"time"
|
|
)
|
|
|
|
// TestMain shortens the boot-retry backoff for the whole package: the tests
|
|
// assert which calls are retried, not how long the agent waits between them.
|
|
func TestMain(m *testing.M) {
|
|
retryMin, retryMax = time.Millisecond, time.Millisecond
|
|
os.Exit(m.Run())
|
|
}
|