Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RabbitMQ test fix for AWS hostnames #578

Merged
merged 20 commits into from
Oct 9, 2019
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
25353d1
Removing the test environment destruction function
Aug 6, 2019
07d44eb
Merge branch 'develop' of https://github.com/epiphany-platform/epipha…
Aug 7, 2019
a84b79f
Merge branch 'develop' of https://github.com/epiphany-platform/epipha…
Aug 8, 2019
b3c55da
Merge branch 'develop' of https://github.com/epiphany-platform/epipha…
Aug 27, 2019
56e47e0
Merge branch 'develop' of https://github.com/epiphany-platform/epipha…
Aug 29, 2019
cd03cb4
Merge branch 'develop' of https://github.com/epiphany-platform/epipha…
Aug 30, 2019
d64f793
Merge branch 'develop' of https://github.com/epiphany-platform/epipha…
Sep 2, 2019
89b4657
Merge branch 'develop' of https://github.com/epiphany-platform/epipha…
Sep 3, 2019
34f60c5
Merge branch 'develop' of https://github.com/epiphany-platform/epipha…
Sep 9, 2019
a26aac9
Merge branch 'develop' of https://github.com/epiphany-platform/epipha…
Sep 24, 2019
02c3501
Merge branch 'develop' of https://github.com/epiphany-platform/epipha…
Sep 24, 2019
e6ee2d4
Merge branch 'develop' of https://github.com/epiphany-platform/epipha…
Sep 25, 2019
8506f99
Merge branch 'develop' of https://github.com/epiphany-platform/epipha…
Sep 26, 2019
809b19f
adding rabbitmq and postresql tests to epicli
Sep 30, 2019
bc6dfe0
Merge branch 'develop' of https://github.com/epiphany-platform/epipha…
Sep 30, 2019
2aed56b
Added rabbitmq and postgresql tests to epicli
Oct 1, 2019
6a7a4ca
Added rabbitmq and postgresql tests to epicli
Oct 1, 2019
7c00101
Merge branch 'develop' of https://github.com/epiphany-platform/epipha…
Oct 3, 2019
2bcdf52
Merge branch 'develop' of https://github.com/epiphany-platform/epipha…
Oct 9, 2019
a29e835
RabbtiMQ test fix for AWS hostname
Oct 9, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
let(:disable_sudo) { false }
if clustered == true
listInventoryHosts("rabbitmq").each do |val|
val = val.split(".")[0]
describe command("rabbitmqctl node_health_check -n rabbit@#{val}") do
its(:stdout) { should match /^Health check passed$/ }
its(:exit_status) { should eq 0 }
Expand All @@ -74,6 +75,7 @@
end
if clustered
listInventoryHosts("rabbitmq").each do |val|
val = val.split(".")[0]
describe command("rabbitmqctl cluster_status | awk '/running_nodes/,/}/'") do
its(:stdout) { should match /rabbit@#{val}/ }
its(:exit_status) { should eq 0 }
Expand Down Expand Up @@ -127,6 +129,7 @@
let(:disable_sudo) { false }
if clustered
listInventoryHosts("rabbitmq").each do |val|
val = val.split(".")[0]
describe command("curl -o /dev/null -s -w '%{http_code}' -u #{user}:#{pass} #{rabbitmq_host}:#{rabbitmq_api_port}/api/healthchecks/node/rabbit@#{val}") do
it "is expected to be equal" do
expect(subject.stdout.to_i).to eq 200
Expand Down Expand Up @@ -159,4 +162,4 @@
its(:stdout) { should match /Deleting user "#{user}"/ }
its(:exit_status) { should eq 0 }
end
end
end