进一步压缩阿里云 DNS 权限验证等待时间
This commit is contained in:
1 parent
d8205ae651
commit
938e47d821
10 files changed
+18
-18
No files matched your search
@@ -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"}
|
||||
|
||||
Reference in new issue
Block a user