mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-24 15:17:30 -04:00
Collapse verbose .execute().actionGet() calls in tests (#102502)
Cleaning this up a little even though it's still quite horrible. `.get()` in this API actually means `actionGet()` so to speak. I think a good first step to cleaning this up is to at least reduce the duplication though and save 1k lines.
This commit is contained in:
parent
5e8b5d64f4
commit
a9c286b25c
146 changed files with 1035 additions and 1998 deletions
|
@ -650,8 +650,7 @@ public class MoreExpressionIT extends ESIntegTestCase {
|
|||
.endObject()
|
||||
.endObject()
|
||||
)
|
||||
.execute()
|
||||
.actionGet();
|
||||
.get();
|
||||
refresh();
|
||||
// access .lat
|
||||
assertNoFailuresAndResponse(buildRequest("doc['location'].lat"), rsp -> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue