summaryrefslogtreecommitdiff
path: root/test/functional/sample_test.rb
AgeCommit message (Collapse)Author
2018-02-05feature: enamble wkd lookupfeature/web-key-directoryAzul
fixes #1
2017-10-11style: more rubocop fixesAzul
2017-09-23style: more rubocop fixesAzul
2017-09-23style: rubocop mostly auto-correctAzul
2017-09-22fiX: tests need different names, warningsAzul
2017-07-25test: regression test for nonexisting domainAzul
related to platform#8674
2017-07-24fix: #3 handle domains without A-recordAzul
If a domain only has an mx record but no A record it will trigger a ConnectionError when attempting the nicknym key lookup. We need to detect and handle this in the http adapter already because once the exception is handled by Celluloid our actor will be terminated. So now we allow for handing a rescue option to the adapter with a string that is checked for inclusion in the error message. If the string is found the exception will be caught and the adapter returns nil. We only make use of this when checking the availability of nicknym so far. That should be the only http request going out.
2017-07-24minor: tweak file descriptor count testAzul
2017-07-21fix: filedescriptor leak from http_adaptersAzul
Now we reuse a single adapter for all requests triggered by an incoming request. Then we .terminate the adapter. Includes a regression test.