From 0078e39e3d0d70e9751dfd88528c1d4b1e314b33 Mon Sep 17 00:00:00 2001 From: Andrea Maria Piana Date: Wed, 6 Jul 2022 10:00:17 +0100 Subject: [PATCH] Reduce max keep in tests --- protocol/encryption/encryption_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/protocol/encryption/encryption_test.go b/protocol/encryption/encryption_test.go index 3c0ea19b4..a57ec63fa 100644 --- a/protocol/encryption/encryption_test.go +++ b/protocol/encryption/encryption_test.go @@ -620,6 +620,8 @@ func (s *EncryptionServiceTestSuite) TestMaxKeep() { config := defaultEncryptorConfig("none", s.logger) // Set MaxMessageKeysPerSession to an high value so it does not interfere config.MaxMessageKeysPerSession = 100000 + // Set MaxKeep to a small number for testing + config.MaxKeep = 10 s.initDatabases(config)