[
https://issues.apache.org/jira/browse/GEODE-7203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16934392#comment-16934392
]
ASF subversion and git services commented on GEODE-7203:
--------------------------------------------------------
Commit e68052d90fa08f7d256a1cc1c745926bfd02d0ea in geode-native's branch
refs/heads/develop from Alberto Bustamante Reyes
[ https://gitbox.apache.org/repos/asf?p=geode-native.git;h=e68052d ]
GEODE-7203: Some updates in examples (#522)
Clean up server and locator directories after running examples. Aside from
keeping things tidy, this makes a big difference in startup times when running
examples multiple times.
> 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)