fix(canvas): 云端 Agent - 参数错误有限重试并折叠中间失败
This commit is contained in:
1 parent
c80a554c49
commit
6eea2552f8
16 files changed
+396
-15
No files matched your search
@@ -10,7 +10,7 @@ func TestLoadAgentPoliciesUsesDocumentMetadata(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
if system.ID != "cloud-agent-system" || system.Version != 6 || media.ID != "cloud-agent-media" || media.Version != 3 {
|
||||
if system.ID != "cloud-agent-system" || system.Version != 7 || media.ID != "cloud-agent-media" || media.Version != 3 {
|
||||
t.Fatalf("unexpected policy metadata: system=%+v media=%+v", system, media)
|
||||
}
|
||||
if strings.Contains(system.Text, "id: cloud-agent-system") || !strings.HasPrefix(system.Text, "# 影策 Cloud Agent") {
|
||||
|
||||
Reference in new issue
Block a user