mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-03 17:39:15 +00:00
Fix compilation for missing client
Original commit: elastic/x-pack-elasticsearch@586c5d0716
This commit is contained in:
parent
db39da77c5
commit
24d7472cea
@ -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());
|
||||
|
Loading…
x
Reference in New Issue
Block a user