summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2022-07-16 23:27:49 +0700
committerShulhan <ms@kilabit.info>2022-07-16 23:27:49 +0700
commit6e43f4b1af113c6cf70539e2a92ae13d9e523cb9 (patch)
tree7e17463a5a57514cbf2b099ec462b81657be1c8c
parenta39d5d2246f8a382776b0befa3d925efcd3a14a4 (diff)
downloadpakakeh.go-6e43f4b1af113c6cf70539e2a92ae13d9e523cb9.tar.xz
email/dkim: skip test that require external DNS records
Due to external DNS records are unpredictable, some test may failed in the future.
-rw-r--r--lib/email/dkim/key_test.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/email/dkim/key_test.go b/lib/email/dkim/key_test.go
index b6890dc9..1bb001bf 100644
--- a/lib/email/dkim/key_test.go
+++ b/lib/email/dkim/key_test.go
@@ -12,6 +12,8 @@ import (
)
func TestKeyLookupKey(t *testing.T) {
+ t.Skip("TODO: use lib/dns.Server that run with predefined records")
+
qmethod := QueryMethod{}
cases := []struct {
@@ -92,6 +94,8 @@ func TestKeyParseTXT(t *testing.T) {
}
func TestKeyLookupDNSTXT(t *testing.T) {
+ t.Skip("TODO: use lib/dns.Server that run with predefined records")
+
cases := []struct {
dname string
exp string