beetle 2.2.2 → 2.2.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 06b0f197efd399ed1714cdbe89657e091e129dd5ccc55fa5eb1d52b0726e3cf5
4
- data.tar.gz: e0d259da5e1882bbb695ea0cf9f0b0e21775e41fd86318bd0ded3a4a2856c7c2
3
+ metadata.gz: 8a35a259d101d2b0623ae59f12e901b0872308a372ecaaecd43d95de13e38bec
4
+ data.tar.gz: bdc124f3b915978f1bee1265e9e331f3f48a908a5c9c5ef9792c8779037ca33a
5
5
  SHA512:
6
- metadata.gz: a55308b8e35bf17a59c6f3b4bad1d65cd1201388b8a624173685461b705e7c8c02512cde2283033c0e89dd492b77e3b2ece876bcfaee013e28f03be71474cbca
7
- data.tar.gz: 13294eb823a02c5b4b0ec0a93eaf115dbd01bd1f6825fd44bb779cfc10c727f59c435bc5b7203108a1d6febc563ebb30fd8830511189df68e78ed6f6fd9f7c04
6
+ metadata.gz: 6b0b8d21c4b678de78c06b887075eb175d1ddcd902c8f40dc683fd5d2a3c160422e7ee94842db7f4620e1ffccf7ffa7051e74afe7f81d9d8206f206022034fff
7
+ data.tar.gz: 295f9b96e41cbde54221107736cf3bfaec30dade8e728ceb0dc0f7ea4a91bf0e0a5fdbcf6c3868a6ae54dc5964901451c2ec08a756c3e59582cf455eaa6f938b
data/RELEASE_NOTES.rdoc CHANGED
@@ -1,5 +1,8 @@
1
1
  = Release Notes
2
2
 
3
+ == Version 2.2.3
4
+ * redis failover server logs errors when redis oparations fail
5
+
3
6
  == Version 2.2.2
4
7
 
5
8
  * Reset redis configuration server state when master becomes available during
@@ -138,13 +138,15 @@ end
138
138
  Then /^a system notification for switching from "([^\"]*)" to "([^\"]*)" should be sent$/ do |old_redis_master_name, new_redis_master_name|
139
139
  text = "Setting redis master to '#{TestDaemons::Redis[new_redis_master_name].ip_with_port}' (was '#{TestDaemons::Redis[old_redis_master_name].ip_with_port}')"
140
140
  lines = File.readlines(system_notification_log_path)
141
- assert_match /#{Regexp.escape(text)}/, lines.last
141
+ tail = (["","",""]+lines)[-3..-1].join("\n")
142
+ assert_match /#{Regexp.escape(text)}/, tail
142
143
  end
143
144
 
144
145
  Then /^a system notification for no slave available to become new master should be sent$/ do
145
146
  text = "Redis master could not be switched, no slave available to become new master"
146
147
  lines = File.readlines(system_notification_log_path)
147
- assert_match /#{text}/, lines.last
148
+ tail = (["","",""]+lines)[-3..-1].join("\n")
149
+ assert_match /#{text}/, tail
148
150
  end
149
151
 
150
152
  Then /^the redis configuration server should answer http requests$/ do
@@ -1,3 +1,3 @@
1
1
  module Beetle
2
- VERSION = "2.2.2"
2
+ VERSION = "2.2.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beetle
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.2
4
+ version: 2.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefan Kaes
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2019-02-17 00:00:00.000000000 Z
15
+ date: 2019-02-18 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: uuid4r