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:
Brian Cunnie
2022-04-13 08:35:21 -07:00
parent 033cf481d7
commit 2a0e6b105d

View File

@@ -118,7 +118,7 @@ describe domain do
end end
it "deletes a key-value @#{whois_nameserver} sslipio-spec.k-v.io" do 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 end
it "gets a key-value @#{whois_nameserver} sslipio-spec.k-v.io" do it "gets a key-value @#{whois_nameserver} sslipio-spec.k-v.io" do