zookeeper 1.2.7 → 1.2.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -109,8 +109,8 @@ module Zookeeper
109
109
  @cond.wait(deadline)
110
110
  end
111
111
 
112
- if now > time_to_stop
113
- raise ContinuationTimeoutError, "response for meth: #{meth.inspect}, args: #{args.inspect}, not received within #{OPERATION_TIMEOUT} seconds"
112
+ if (now > time_to_stop) and !@rval and !@error
113
+ raise Exceptions::ContinuationTimeoutError, "response for meth: #{meth.inspect}, args: #{args.inspect}, not received within #{OPERATION_TIMEOUT} seconds"
114
114
  end
115
115
 
116
116
  case @error
@@ -1,4 +1,4 @@
1
1
  module Zookeeper
2
- VERSION = '1.2.7'
2
+ VERSION = '1.2.8'
3
3
  DRIVER_VERSION = '3.3.5'
4
4
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zookeeper
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 15
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 2
9
- - 7
10
- version: 1.2.7
9
+ - 8
10
+ version: 1.2.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - Phillip Pearson