test avatars: get rid of the 1%

This commit is contained in:
Torsten Grote
2020-11-27 15:01:02 -03:00
parent 19db58ee19
commit aa00ba7220

View File

@@ -186,7 +186,7 @@ public class TestDataCreatorImpl implements TestDataCreator {
transportPropertyManager.addRemoteProperties(txn, contactId, props);
return db.getContact(txn, contactId);
});
if (random.nextInt(100) + 1 < avatarPercent) addAvatar(contact);
if (random.nextInt(100) + 1 <= avatarPercent) addAvatar(contact);
if (LOG.isLoggable(INFO)) {
LOG.info("Added contact " + remote.getName() +