Skip to content

Commit

Permalink
fixed timeout to appropriate integer.
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Miron committed Aug 25, 2017
1 parent 56f1f8a commit cfe6d58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/ping_test.go
Expand Up @@ -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()

Expand Down

0 comments on commit cfe6d58

Please sign in to comment.