File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -52,13 +52,14 @@ var _ = Describe("VirtualMachineConfiguration", func() {
5252
5353 By ("Environment preparation" )
5454 vm , vd := generateConfigurationResources (f .Namespace ().Name , restartApprovalMode )
55- f .CreateWithDeferredDeletion (context .Background (), vm , vd )
55+ err := f .CreateWithDeferredDeletion (context .Background (), vm , vd )
56+ Expect (err ).NotTo (HaveOccurred ())
5657
5758 By ("Waiting for VM agent to be ready" )
5859 util .UntilVMAgentReady (crclient .ObjectKeyFromObject (vm ), framework .LongTimeout )
5960
6061 By ("Checking initial configuration" )
61- err : = f .Clients .GenericClient ().Get (context .Background (), crclient .ObjectKeyFromObject (vm ), vm )
62+ err = f .Clients .GenericClient ().Get (context .Background (), crclient .ObjectKeyFromObject (vm ), vm )
6263 Expect (err ).NotTo (HaveOccurred ())
6364 Expect (vm .Status .Resources .CPU .Cores ).To (Equal (initialCPUCores ))
6465 Expect (vm .Status .Resources .Memory .Size ).To (Equal (resource .MustParse (initialMemorySize )))
You can’t perform that action at this time.
0 commit comments