mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 10:25:15 +00:00
Add more javadoc and rename test
This commit is contained in:
parent
66e3b15d21
commit
f9d22b3598
@ -256,9 +256,11 @@ public class GceDiscoveryTests extends ESTestCase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* For issue https://github.com/elastic/elasticsearch/issues/16967
|
* For issue https://github.com/elastic/elasticsearch/issues/16967:
|
||||||
|
* When using multiple regions and one of them has no instance at all, this
|
||||||
|
* was producing a NPE as a result.
|
||||||
*/
|
*/
|
||||||
public void testEmptyRegion16967() {
|
public void testNoRegionReturnsEmptyList() {
|
||||||
Settings nodeSettings = Settings.builder()
|
Settings nodeSettings = Settings.builder()
|
||||||
.put(GceComputeService.PROJECT_SETTING.getKey(), projectName)
|
.put(GceComputeService.PROJECT_SETTING.getKey(), projectName)
|
||||||
.putArray(GceComputeService.ZONE_SETTING.getKey(), "europe-west1-b", "us-central1-a")
|
.putArray(GceComputeService.ZONE_SETTING.getKey(), "europe-west1-b", "us-central1-a")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user