File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -531,6 +531,13 @@ func TestIntegration_TagModel(t *testing.T) {
531531
532532 // Test all combinations of source references and target formats
533533 for _ , srcCase := range sourceRefs {
534+
535+ if strings .Contains (srcCase .name , "model ID" ) {
536+ // Skip ID-based references for tagging tests
537+ // TODO : Support tagging by ID in the future
538+ continue
539+ }
540+
534541 // Nested loop - test this source with ALL targets
535542 for _ , targetFormat := range targetFormats {
536543 testCases = append (testCases , tagTestCase {
@@ -592,7 +599,7 @@ func TestIntegration_TagModel(t *testing.T) {
592599 for expectedTag := range createdTags {
593600 found := false
594601 for _ , actualTag := range inspectedModel .Tags {
595- if actualTag == expectedTag {
602+ if actualTag == expectedTag || actualTag == fmt . Sprintf ( "%s:latest" , expectedTag ) { // Handle implicit latest tag
596603 found = true
597604 break
598605 }
You can’t perform that action at this time.
0 commit comments