File
Blob: tun/client/client_test.go
| 1 | package client |
| 2 | |
| 3 | import ( |
| 4 | "testing" |
| 5 | "time" |
| 6 | ) |
| 7 | |
| 8 | const ( |
| 9 | testHostname = "abcd" |
| 10 | testApex = "specter.dev" |
| 11 | ) |
| 12 | |
| 13 | func TestMain(m *testing.M) { |
| 14 | checkInterval = time.Millisecond * 200 |
| 15 | rttInterval = time.Millisecond * 250 |
| 16 | certCheckInterval = time.Millisecond * 100 // Shortened for testing background renewal |
| 17 | m.Run() |
| 18 | } |