mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-19 19:35:02 +00:00
Move bracket
(Matches part of a change made to 5.5/5.x that doesn't need fully forward porting.) Original commit: elastic/x-pack-elasticsearch@01f0837e6c
This commit is contained in:
parent
7cb1c8bd35
commit
64330ff14d
@ -84,8 +84,7 @@ public class UpgradeClusterClientYamlTestSuiteIT extends SecurityClusterClientYa
|
|||||||
AtomicReference<IOException> exceptionHolder = new AtomicReference<>();
|
AtomicReference<IOException> exceptionHolder = new AtomicReference<>();
|
||||||
awaitBusy(() -> {
|
awaitBusy(() -> {
|
||||||
try {
|
try {
|
||||||
ClientYamlTestResponse response = getAdminExecutionContext().callApi(apiName, params, bodies, Collections.emptyMap()
|
ClientYamlTestResponse response = getAdminExecutionContext().callApi(apiName, params, bodies, Collections.emptyMap());
|
||||||
);
|
|
||||||
if (response.getStatusCode() == HttpStatus.SC_OK) {
|
if (response.getStatusCode() == HttpStatus.SC_OK) {
|
||||||
exceptionHolder.set(null);
|
exceptionHolder.set(null);
|
||||||
return success.apply(response);
|
return success.apply(response);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user