From cd9add5350a5d72f686d99ed10a5b4dc9be8a79d Mon Sep 17 00:00:00 2001 From: jaymode Date: Tue, 6 Sep 2016 08:36:04 -0400 Subject: [PATCH] test: remove unnecessary verify check Original commit: elastic/x-pack-elasticsearch@f748c0a56581a5e562a0c399985950323cc01f7e --- .../security/action/user/TransportGetUsersActionTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elasticsearch/x-pack/security/src/test/java/org/elasticsearch/xpack/security/action/user/TransportGetUsersActionTests.java b/elasticsearch/x-pack/security/src/test/java/org/elasticsearch/xpack/security/action/user/TransportGetUsersActionTests.java index a5d57683bcd..7f6090165ab 100644 --- a/elasticsearch/x-pack/security/src/test/java/org/elasticsearch/xpack/security/action/user/TransportGetUsersActionTests.java +++ b/elasticsearch/x-pack/security/src/test/java/org/elasticsearch/xpack/security/action/user/TransportGetUsersActionTests.java @@ -145,6 +145,7 @@ public class TransportGetUsersActionTests extends ESTestCase { mock(ActionFilters.class), mock(IndexNameExpressionResolver.class), usersStore, mock(TransportService.class), reservedRealm); + logger.error("names {}", names); GetUsersRequest request = new GetUsersRequest(); request.usernames(names.toArray(new String[names.size()])); @@ -165,7 +166,6 @@ public class TransportGetUsersActionTests extends ESTestCase { assertThat(throwableRef.get(), is(nullValue())); assertThat(responseRef.get(), is(notNullValue())); assertThat(responseRef.get().users(), arrayContaining(reservedUsers.toArray(new User[reservedUsers.size()]))); - verify(usersStore, times(1 + names.size())).started(); } public void testGetAllUsers() {