(POD-10) Log reason for failed VM checks.

This commit is contained in:
isaac-hammes 2023-08-17 13:08:08 -07:00
parent 11405592c3
commit 493e358ba1
2 changed files with 10 additions and 4 deletions

View file

@ -361,7 +361,9 @@ EOT
end
it 'should return true' do
expect(subject.vm_ready?(poolname, vmname)).to be true
redis_connection_pool.with_metrics do |redis|
expect(subject.vm_ready?(poolname, vmname, redis)).to be true
end
end
end
@ -371,7 +373,9 @@ EOT
end
it 'should return false' do
expect(subject.vm_ready?(poolname, vmname)).to be false
redis_connection_pool.with_metrics do |redis|
expect(subject.vm_ready?(poolname, vmname, redis)).to be false
end
end
end
end