Skip to content

Commit

Permalink
Add more javadoc and rename test
Browse files Browse the repository at this point in the history
  • Loading branch information
dadoonet committed Jun 30, 2016
1 parent 66e3b15 commit f9d22b3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -256,9 +256,11 @@ public void testIllegalSettingsMissingZone() {
}

/**
* 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()
.put(GceComputeService.PROJECT_SETTING.getKey(), projectName)
.putArray(GceComputeService.ZONE_SETTING.getKey(), "europe-west1-b", "us-central1-a")
Expand Down

0 comments on commit f9d22b3

Please sign in to comment.