beetle 2.2.2 → 2.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/RELEASE_NOTES.rdoc +3 -0
- data/features/step_definitions/redis_auto_failover_steps.rb +4 -2
- data/lib/beetle/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8a35a259d101d2b0623ae59f12e901b0872308a372ecaaecd43d95de13e38bec
|
|
4
|
+
data.tar.gz: bdc124f3b915978f1bee1265e9e331f3f48a908a5c9c5ef9792c8779037ca33a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6b0b8d21c4b678de78c06b887075eb175d1ddcd902c8f40dc683fd5d2a3c160422e7ee94842db7f4620e1ffccf7ffa7051e74afe7f81d9d8206f206022034fff
|
|
7
|
+
data.tar.gz: 295f9b96e41cbde54221107736cf3bfaec30dade8e728ceb0dc0f7ea4a91bf0e0a5fdbcf6c3868a6ae54dc5964901451c2ec08a756c3e59582cf455eaa6f938b
|
data/RELEASE_NOTES.rdoc
CHANGED
|
@@ -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
|
-
|
|
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
|
-
|
|
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
|
data/lib/beetle/version.rb
CHANGED
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.
|
|
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-
|
|
15
|
+
date: 2019-02-18 00:00:00.000000000 Z
|
|
16
16
|
dependencies:
|
|
17
17
|
- !ruby/object:Gem::Dependency
|
|
18
18
|
name: uuid4r
|