[Agent][Deploy] - sz ga
This commit is contained in:
@@ -73,6 +73,25 @@ func TestPullFromEntityAndSyncConditionally(t *testing.T) {
|
||||
// ...其他验证逻辑...
|
||||
}
|
||||
|
||||
func TestDownloadLoadTagUpload(t *testing.T) {
|
||||
|
||||
localGzipFileList := []string{
|
||||
"/root/octopus_image/middle",
|
||||
"/root/octopus_image/rke",
|
||||
"/root/octopus_image/xjyd",
|
||||
}
|
||||
|
||||
for _, s := range localGzipFileList {
|
||||
log.InfoF("start to sync => %s", s)
|
||||
|
||||
targetImageFullNameList := DownloadLoadTagUpload(false, "", "", s, "172.28.0.251:8033")
|
||||
|
||||
utils.BeautifulPrintListWithTitle(targetImageFullNameList, "targetImageFullNameList")
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
func TestConcatAndUniformCmiiImage(t *testing.T) {
|
||||
// 创建一个模拟的fullImageList和cmiiImageList,用于测试函数的行为。这里需要根据你的实际需求来设置mock数据和预期结果。
|
||||
fullImageList := []string{"image3", "image4"}
|
||||
|
||||
Reference in New Issue
Block a user