[FIXED] Server not sending PINGs to TSL connections (clients or routes)

- Removed unnecessary cast check to (*net.TCPConn). When the timer
fires, the connection is already established. Replaced with check
that connection has not been closed.
- Add PING test that checks that pings are sent to TLS connections.
- Changed Go version to 1.7.5 in travis.
- Removed test package from code coverage.
This commit is contained in:
Ivan Kozlovic
2017-03-24 09:45:22 -06:00
parent 42a539f1c1
commit a0245fc0c8
4 changed files with 68 additions and 5 deletions

View File

@@ -7,8 +7,7 @@ go test -v -covermode=atomic -coverprofile=./cov/auth.out ./auth
go test -v -covermode=atomic -coverprofile=./cov/conf.out ./conf
go test -v -covermode=atomic -coverprofile=./cov/log.out ./logger
go test -v -covermode=atomic -coverprofile=./cov/server.out ./server
go test -v -covermode=atomic -coverprofile=./cov/test.out ./test
go test -v -covermode=atomic -coverprofile=./cov/test2.out -coverpkg=./server ./test
go test -v -covermode=atomic -coverprofile=./cov/test.out -coverpkg=./server ./test
gocovmerge ./cov/*.out > acc.out
rm -rf ./cov