Reduce size of random string in VMI name so lookup by label can work
@@ -794,7 +794,7 @@ func NewRandomVMI() *v1.VirtualMachineInstance {
}
func NewRandomVMIWithNS(namespace string) *v1.VirtualMachineInstance {
- vmi := v1.NewMinimalVMIWithNS(namespace, "testvmi"+rand.String(63))
+ vmi := v1.NewMinimalVMIWithNS(namespace, "testvmi"+rand.String(48))
t := defaultTestGracePeriod
vmi.Spec.TerminationGracePeriodSeconds = &t
