> On Oct. 15, 2012, 11:46 p.m., michim wrote:
> > /src/c/src/zookeeper.c, line 435
> > <https://reviews.apache.org/r/3781/diff/4/?file=176409#file176409line435>
> >
> >     Do we need to call both srandom and srand48?
> 
> Marshall McMullen wrote:
>     No, definitely not. Removed call to srand48. Nice catch.

Actually, removing the call to srand48 seems to have caused one of the new 
reconfig tests to fail as the expected distribution wasn't sufficiently random 
without it. I don't see any harm in leaving it in there.


- Marshall


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/3781/#review12460
-----------------------------------------------------------


On Oct. 13, 2012, 7:56 a.m., Alexander Shraer wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/3781/
> -----------------------------------------------------------
> 
> (Updated Oct. 13, 2012, 7:56 a.m.)
> 
> 
> Review request for zookeeper.
> 
> 
> Description
> -------
> 
> https://issues.apache.org/jira/browse/ZOOKEEPER-1355
> 
> 
> Diffs
> -----
> 
>   /src/c/Makefile.am 1397800 
>   /src/c/include/zookeeper.h 1397800 
>   /src/c/src/mt_adaptor.c 1397800 
>   /src/c/src/st_adaptor.c 1397800 
>   /src/c/src/zk_adaptor.h 1397800 
>   /src/c/src/zookeeper.c 1397800 
>   /src/c/tests/TestZookeeperClose.cc 1397800 
>   /src/c/tests/TestZookeeperInit.cc 1397800 
>   /src/c/tests/ZKMocks.cc 1397800 
>   /src/docs/src/documentation/content/xdocs/zookeeperProgrammers.xml 1397800 
>   /src/java/main/org/apache/zookeeper/ZooKeeper.java 1397800 
>   /src/java/main/org/apache/zookeeper/client/HostProvider.java 1397800 
>   /src/java/main/org/apache/zookeeper/client/StaticHostProvider.java 1397800 
>   /src/java/test/org/apache/zookeeper/test/StaticHostProviderTest.java 
> 1397800 
> 
> Diff: https://reviews.apache.org/r/3781/diff/
> 
> 
> Testing
> -------
> 
> new tests included as part of the patch
> 
> 
> Thanks,
> 
> Alexander Shraer
> 
>

Reply via email to