进一步压缩阿里云 DNS 权限验证等待时间

This commit is contained in:
xuans committed 2026-09-16 01:05:25 +08:00
1 parent d8205ae651
commit 938e47d821
10 files changed
+18 -18

No files matched your search

+1 -1
View File
@@ -85,7 +85,7 @@ func TestDNSCheckReportsLiveResultWithoutPersistingConfiguration(t *testing.T) {
t.Fatal("权限请求必须设置超时")
}
remaining := time.Until(deadline)
if remaining < 14*time.Second || remaining > 16*time.Second {
if remaining < 9*time.Second || remaining > 11*time.Second {
t.Fatalf("阿里云 CLI 权限验证时限错误:%s", remaining)
}
report := dnsprovider.AuthorizationReport{Provider: "aliyun", RequestedDomain: name, Verified: outcome == "allowed"}