Skip to content

Commit d35f2bc

Browse files
Fix test UUIDs missed in prior commit
The "union rule" tests still used "abc-123" which doesn't match the new RFC 4122 pattern validation. Replace with valid UUIDs.
1 parent 8f84a6e commit d35f2bc

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

api/v1/hypervisor_validation_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ var _ = Describe("Groups CEL Validation", func() {
441441
ObjectMeta: metav1.ObjectMeta{Name: hypervisorName.Name},
442442
Spec: HypervisorSpec{
443443
Groups: []Group{
444-
{Aggregate: &AggregateGroup{Name: "fast-storage", UUID: "abc-123"}},
444+
{Aggregate: &AggregateGroup{Name: "fast-storage", UUID: "a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"}},
445445
},
446446
},
447447
}
@@ -454,7 +454,7 @@ var _ = Describe("Groups CEL Validation", func() {
454454
Spec: HypervisorSpec{
455455
Groups: []Group{
456456
{Trait: &TraitGroup{Name: "HW_CPU_X86_AVX2"}},
457-
{Aggregate: &AggregateGroup{Name: "fast-storage", UUID: "abc-123"}},
457+
{Aggregate: &AggregateGroup{Name: "fast-storage", UUID: "a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"}},
458458
{Trait: &TraitGroup{Name: "COMPUTE_STATUS_DISABLED"}},
459459
},
460460
},
@@ -469,7 +469,7 @@ var _ = Describe("Groups CEL Validation", func() {
469469
Groups: []Group{
470470
{
471471
Trait: &TraitGroup{Name: "HW_CPU_X86_AVX2"},
472-
Aggregate: &AggregateGroup{Name: "fast-storage", UUID: "abc-123"},
472+
Aggregate: &AggregateGroup{Name: "fast-storage", UUID: "a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"},
473473
},
474474
},
475475
},

0 commit comments

Comments
 (0)