svFuture.await();
assertTrue(svFuture.isSuccess());
Namespace ns = new Namespace(Namespace.DEFAULT_BUCKET_TYPE, bucketName.toString());
IntIndexQuery iiq =
new IntIndexQuery.Builder(ns, "test_index", 123456L).withKeyAndIndex(true).build();
IntIndexQuery.Response iResp = client.execute(iiq);
assertTrue(iResp.hasEntries());
assertEquals(2, iResp.getEntries().size());