Fixed test

Original commit: elastic/x-pack-elasticsearch@9fe6158aa4
This commit is contained in:
uboness 2016-05-24 01:22:58 +02:00
parent 045b255a05
commit 9b11ae85d2
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ public class UsernamePasswordRealmTests extends ESTestCase {
int count = randomIntBetween(0, 1000); int count = randomIntBetween(0, 1000);
UsernamePasswordRealm.UserbaseSize size = UsernamePasswordRealm.UserbaseSize.resolve(count); UsernamePasswordRealm.UserbaseSize size = UsernamePasswordRealm.UserbaseSize.resolve(count);
if (count < 10) { if (count < 10) {
assertThat(size, is(UsernamePasswordRealm.UserbaseSize.SMALL)); assertThat(size, is(UsernamePasswordRealm.UserbaseSize.TINY));
} else if (count < 100) { } else if (count < 100) {
assertThat(size, is(UsernamePasswordRealm.UserbaseSize.SMALL)); assertThat(size, is(UsernamePasswordRealm.UserbaseSize.SMALL));
} else if (count < 500) { } else if (count < 500) {