data[:health]='This GitLab instance does not appear to be configured properly as a Geo node. Make sure the URLs are using the correct fully-qualified domain names.'
data[:health_status]='Unhealthy'
rescueOpenSSL::Cipher::CipherError
data[:health]='Error decrypting the Geo secret from the database. Check that the primary uses the correct db_key_base.'
@@ -121,5 +121,29 @@ describe Geo::NodeStatusFetchService, :geo do
expect(status.status_message).toeq('This GitLab instance does not appear to be configured properly as a Geo node. Make sure the URLs are using the correct fully-qualified domain names.')
end
it'returns the status from database if it could not fetch it'do