From cfe6d58792db16c0eb55f24409830a99ef5470bb Mon Sep 17 00:00:00 2001 From: Peter Miron Date: Thu, 24 Aug 2017 19:26:57 -0700 Subject: [PATCH] fixed timeout to appropriate integer. --- test/ping_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/ping_test.go b/test/ping_test.go index 7019ed58e8..641d1969dc 100644 --- a/test/ping_test.go +++ b/test/ping_test.go @@ -41,7 +41,7 @@ func TestPingSentToTLSConnection(t *testing.T) { tc.CaFile = opts.TLSCaCert opts.TLSConfig, _ = server.GenTLSConfig(&tc) - opts.TLSTimeout = float64(5 * time.Second) + opts.TLSTimeout = 5 s := RunServer(&opts) defer s.Shutdown()