chore(repo): 纳入云治理主站运行基线 #27
@@ -122,4 +122,4 @@ func TestCreateJobRejectsReservedLibraryTypes(t *testing.T) {
|
||||
if !strings.Contains(recorder.Body.String(), "发布管理专用入口") {
|
||||
t.Fatalf("拒绝原因必须指向专用入口:%s", recorder.Body.String())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -48,4 +48,4 @@ func TestLeaseLossMustCancelHandler(t *testing.T) {
|
||||
if continued {
|
||||
t.Fatal("心跳报失租后 handler 仍在运行:旧代次还能继续写目标")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -139,4 +139,4 @@ SELECT coalesce(snapshot_id,''), coalesce(target_snapshot_id,'') FROM library_jo
|
||||
add(target, "未释放维护窗口的目标快照")
|
||||
}
|
||||
return protected, nil
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user