Fix lint issue in healthcheck test

This commit is contained in:
Zoltán Papp 2024-08-15 11:20:08 +02:00
parent 22f5ca8490
commit f2e865f493

View File

@ -2,6 +2,7 @@ package healthcheck
import (
"context"
"os"
"testing"
"time"
)
@ -11,6 +12,7 @@ func TestMain(m *testing.M) {
healthCheckInterval = 1 * time.Second
healthCheckTimeout = 100 * time.Millisecond
m.Run()
os.Exit(0)
}
func TestNewHealthPeriod(t *testing.T) {