mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 03:38:42 -07:00
[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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user