Release v2.1.6

Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
This commit is contained in:
Ivan Kozlovic
2020-03-31 10:11:49 -06:00
parent 2120477735
commit a19dcbee2d
5 changed files with 14 additions and 9 deletions

View File

@@ -52,15 +52,15 @@ func TestBasicTLSClusterPubSub(t *testing.T) {
sendA("PING\r\n")
expectA(pongRe)
if err := checkExpectedSubs(1, srvA, srvB); err != nil {
t.Fatalf("%v", err)
}
sendB, expectB := setupConn(t, clientB)
sendB("PUB foo 2\r\nok\r\n")
sendB("PING\r\n")
expectB(pongRe)
if err := checkExpectedSubs(1, srvA, srvB); err != nil {
t.Fatalf("%v", err)
}
expectMsgs := expectMsgsCommand(t, expectA)
matches := expectMsgs(1)

View File

@@ -820,6 +820,11 @@ func TestNewRouteQueueSubsDistribution(t *testing.T) {
sendB("PING\r\n")
expectB(pongRe)
// Each server should have its 100 local subscriptions, plus 1 for the route.
if err := checkExpectedSubs(101, srvA, srvB); err != nil {
t.Fatal(err.Error())
}
sender := createClientConn(t, optsA.Host, optsA.Port)
defer sender.Close()
send, expect := setupConn(t, sender)