mirror of
https://github.com/cunnie/sslip.io.git
synced 2025-10-05 15:46:50 +08:00
Health checks conform to new key-value delete behavior
When we check the production servers, we now expect, when we delete a key, to NOT receive the key's old value as a response, lest we inadvertently extend the lifetime of the key that we want to expire.
This commit is contained in:
@@ -118,7 +118,7 @@ describe domain do
|
||||
end
|
||||
|
||||
it "deletes a key-value @#{whois_nameserver} sslipio-spec.k-v.io" do
|
||||
expect(`dig @#{whois_nameserver} delete.sslipio-spec.k-v.io TXT +short`).to match(/^"MyKey"$/)
|
||||
expect(`dig @#{whois_nameserver} delete.sslipio-spec.k-v.io TXT +short`).to match(/^$/)
|
||||
end
|
||||
|
||||
it "gets a key-value @#{whois_nameserver} sslipio-spec.k-v.io" do
|
||||
|
Reference in New Issue
Block a user