[
https://issues.apache.org/jira/browse/GEODE-7203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Blake Bender resolved GEODE-7203.
---------------------------------
Resolution: Fixed
> C++ examples need to be updated
> -------------------------------
>
> Key: GEODE-7203
> URL: https://issues.apache.org/jira/browse/GEODE-7203
> Project: Geode
> Issue Type: Bug
> Components: examples, native client
> Reporter: Diane Hardman
> Assignee: Alberto Bustamante Reyes
> Priority: Minor
> Labels: pull-request-available
> Time Spent: 20m
> Remaining Estimate: 0h
>
> After reviewing the C++ native client examples I found several problems:
> # Transaction - README should be updated to indicate random output;
> currently it says to expect the following output, but this will be different
> each time: Created cache
> Created region 'exampleRegion'
> Rolled back transaction - retrying(4)
> Rolled back transaction - retrying(3)
> Rolled back transaction - retrying(2)
> Committed transaction - exiting
> # functionexecution - this is the only example that spins up a server named
> 'the-server'; the startserver.sh script should be updated to reflect the same
> name used in all other examples 'server'.
> # pdxserializable - either the README needs to change to show the actual
> output of running the client app, or main.cpp should be changed to produce
> the same output presented in the README. The second get (of Customer2) is
> currently not formatted for printing like the first get (of Customer1).
> # All examples: stopserver.sh should cleanup leftover directories locator/,
> server/, and any *.gfs. If there is any reason to keep these around for
> failing tests, then a separate cleanup.sh script should do this.
> # authinitialize - startserver.sh fails due to extra spaces around '=' when
> setting RESOLVEDPATH and AUTHENTICATOR. This example also fails to run,
> instead hangs when executing getCredentials, but this was filed as GEODE-7198.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)