[TEST] Make test more robust against slow connection establishing
Original commit: elastic/x-pack-elasticsearch@6f918a44c9
This commit is contained in:
parent
4da1c5b9dc
commit
9c542173b7
|
@ -61,6 +61,12 @@ teardown:
|
||||||
|
|
||||||
- match: {transient: {search.remote.test_remote_cluster.seeds: $remote_ip}}
|
- match: {transient: {search.remote.test_remote_cluster.seeds: $remote_ip}}
|
||||||
|
|
||||||
|
# we do another search here since this will enforce the connection to be established
|
||||||
|
# otherwise the cluster might not have been connected yet.
|
||||||
|
- do:
|
||||||
|
search:
|
||||||
|
index: test_remote_cluster:test_index
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
headers: { Authorization: "Basic am9lOnMza3JpdA==" }
|
headers: { Authorization: "Basic am9lOnMza3JpdA==" }
|
||||||
remote.info: {}
|
remote.info: {}
|
||||||
|
|
Loading…
Reference in New Issue