Fix MQTT test that was not setting MaxStore

Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
This commit is contained in:
Ivan Kozlovic
2021-09-22 16:51:34 -06:00
parent 944b90d4a3
commit b0d487fe68

View File

@@ -865,6 +865,7 @@ func testMQTTEnableJSForAccount(t *testing.T, s *Server, accName string) {
MaxConsumers: -1,
MaxStreams: -1,
MaxMemory: 1024 * 1024,
MaxStore: 1024 * 1024,
}
if err := acc.EnableJetStream(limits); err != nil {
t.Fatalf("Error enabling JS: %v", err)