Skip to content

Commit

Permalink
neonvm: Fix tests failing to compile (#986)
Browse files Browse the repository at this point in the history
Seems like #935 had issues after merging main into it due to #971, but
test failure didn't prevent auto-merge.
  • Loading branch information
sharnoff authored Jun 21, 2024
1 parent 9de695e commit 15ff20a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions neonvm/controllers/vm_controller_unit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,14 @@ func defaultVm() *vmv1.VirtualMachine {
KernelImage: lo.ToPtr("kernel-img"),
AppendKernelCmdline: nil,
CPUs: vmv1.CPUs{
Min: lo.ToPtr(vmv1.MilliCPU(1000)),
Max: lo.ToPtr(vmv1.MilliCPU(2000)),
Use: lo.ToPtr(vmv1.MilliCPU(1500)),
Min: vmv1.MilliCPU(1000),
Max: vmv1.MilliCPU(2000),
Use: vmv1.MilliCPU(1500),
},
MemorySlots: vmv1.MemorySlots{
Min: lo.ToPtr(int32(1)),
Max: lo.ToPtr(int32(32)),
Use: lo.ToPtr(int32(2)),
Min: int32(1),
Max: int32(32),
Use: int32(2),
},
MemorySlotSize: resource.MustParse("1Gi"),
},
Expand Down

0 comments on commit 15ff20a

Please sign in to comment.