Reduce max keep in tests

This commit is contained in:
Andrea Maria Piana 2022-07-06 10:00:17 +01:00
parent 6df2033179
commit 0078e39e3d
1 changed files with 2 additions and 0 deletions

View File

@ -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)