diff --git a/testutil/client_server_test.go b/testutil/client_server_test.go index d02f6fcff..fb1882977 100644 --- a/testutil/client_server_test.go +++ b/testutil/client_server_test.go @@ -17,6 +17,7 @@ package testutil_test import ( + "flag" "fmt" "os" "testing" @@ -558,6 +559,10 @@ func TestPublicIPAssigned(t *testing.T) { func TestMain(m *testing.M) { var err error + // anything that uses ssntp must call flag.Parse first + // due to glog. + flag.Parse() + // start server StartTestServer(&server)