Skip to content

Commit

Permalink
GEODE-4913: gfsh start server cmd is not recognizing local properties...
Browse files Browse the repository at this point in the history
... and cache.xml, instead using default

Fixed DUnit test failures by reverting the test assertions as like earlier.
  • Loading branch information
sboorlagadda authored Mar 28, 2018
1 parent 6e11fe2 commit 1be57f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,7 @@ public void create_queue_updates_cc() throws Exception {
locator.invoke(() -> {
ClusterConfigurationService service =
ClusterStartupRule.getLocator().getSharedConfiguration();
assertThat(service.getConfiguration("cluster").getCacheXmlContent())
.doesNotContain("async-event-queue");
assertThat(service.getConfiguration("cluster").getCacheXmlContent()).isNull();
});

gfsh.executeAndAssertThat(VALID_COMMAND + " --id=queue").statusIsSuccess()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,10 +205,7 @@ public void multipleIndexesOnMultipleRegionsInMemberGroup() {
((InternalLocator) Locator.getLocator()).getSharedConfiguration();
assertThat(sharedConfig.getConfiguration("group1").getCacheXmlContent()).contains(index2Name,
index1Name);
assertThat(sharedConfig.getConfiguration("cluster").getCacheXmlContent())
.doesNotContain(index2Name);
assertThat(sharedConfig.getConfiguration("cluster").getCacheXmlContent())
.doesNotContain(index1Name);
assertThat(sharedConfig.getConfiguration("cluster").getCacheXmlContent()).isNullOrEmpty();
});
}
}

0 comments on commit 1be57f3

Please sign in to comment.