Skip to content

Commit 738994d

Browse files
Typo in test IpBruteForceAttacksPreventionTests and UserBruteForceAttacksPreventionTests corrected.
Signed-off-by: Lukasz Soszynski <lukasz.soszynski@eliatra.com>
1 parent effc78c commit 738994d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/integrationTest/java/org/opensearch/security/IpBruteForceAttacksPreventionTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public void shouldNotBlockIpWhenFailureAuthenticationCountIsLessThanAllowedTries
120120
}
121121

122122
@Test
123-
public void shouldBlockIpWhenFailureAuthenticationCountIsGraterThanAllowedTries() {
123+
public void shouldBlockIpWhenFailureAuthenticationCountIsGreaterThanAllowedTries() {
124124
authenticateUserWithIncorrectPassword(CLIENT_IP_8, USER_1, ALLOWED_TRIES * 2);
125125
try(TestRestClient client = cluster.createGenericClientRestClient(userWithSourceIp(USER_1, CLIENT_IP_8))) {
126126

src/integrationTest/java/org/opensearch/security/UserBruteForceAttacksPreventionTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public void shouldBlockUserWhenNumberOfFailureLoginAttemptIsEqualToLimit() {
7979
}
8080

8181
@Test
82-
public void shouldBlockUserWhenNumberOfFailureLoginAttemptIsGraterThanLimit() {
82+
public void shouldBlockUserWhenNumberOfFailureLoginAttemptIsGreaterThanLimit() {
8383
authenticateUserWithIncorrectPassword(USER_3, ALLOWED_TRIES * 2);
8484
try(TestRestClient client = cluster.getRestClient(USER_3)) {
8585
HttpResponse response = client.getAuthInfo();

0 commit comments

Comments
 (0)