hadoop-zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benjamin Reed <br...@yahoo-inc.com>
Subject Re: Session expiration caused by time change
Date Fri, 20 Aug 2010 19:18:51 GMT
i put up a patch that should address the problem. now i need to write a 
test case. the only way i can think of is to change the call to 
System.currentTimeMillis to a utility class that calls 
System.currentTimeMillis that i can mock for testing. any better ideas?

ben

On 08/19/2010 03:53 PM, Ted Dunning wrote:
> Put in a four letter command that will put the server to sleep for 15
> seconds!
>
> :-)
>
> On Thu, Aug 19, 2010 at 3:51 PM, Benjamin Reed<breed@yahoo-inc.com>  wrote:
>
>    
>> i'm updating ZOOKEEPER-366 with this discussion and try to get a patch out.
>> Qing (or anyone else, can you reproduce it pretty easily?)
>>
>>      


Mime
View raw message