Fix compilation for missing client

Original commit: elastic/x-pack-elasticsearch@586c5d0716
This commit is contained in:
Lee Hinman 2016-06-29 09:37:47 -06:00
parent db39da77c5
commit 24d7472cea

View File

@ -73,6 +73,9 @@ public class MigrateToolIT extends MigrateToolTestCase {
logger.info("--> output:\n{}", t.getOutput());
Client client = getClient();
SecurityClient c = new SecurityClient(client);
// Check that the migrated user can be retrieved
GetUsersResponse resp = c.prepareGetUsers("bob").get();
assertTrue("user 'bob' should exist", resp.hasUsers());