You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@geode.apache.org by "jujoramos (GitHub)" <gi...@apache.org> on 2020/01/08 13:40:20 UTC
[GitHub] [geode] jujoramos commented on pull request #4570:
GEODE-7655:Restore context with distinct state after a recursion step.
Nitpick: this chunk of code can be replaced with something "easier" to read:
```
@Rule
public ServerStarterRule server =
new ServerStarterRule()
.withRegion(RegionShortcut.REPLICATE, "product")
.withProperty(SERIALIZABLE_OBJECT_FILTER, "org.apache.geode.management.internal.cli.commands.*")
.withPdxSerializer(new ReflectionBasedAutoSerializer("org.apache.geode.management.internal.cli.commands.*"))
.withAutoStart();
@Test
public void classCastExceptionShouldNotBeThrownWhileExecutionNestedQueries() throws Exception {
Cache cache = server.getCache();
Region<Integer, Product> region = cache.getRegion("product");
(...)
}
```
[ Full content available at: https://github.com/apache/geode/pull/4570 ]
This message was relayed via gitbox.apache.org for notifications@geode.apache.org