Skip to content

Commit b93d349

Browse files
committed
Remove resume before stop, as it is no longer needed for stopVM
Signed-off-by: Alakesh Haloi <[email protected]>
1 parent 3d439a9 commit b93d349

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

runtime/service_integ_test.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2239,10 +2239,6 @@ func TestPauseResume_Isolated(t *testing.T) {
22392239
// Ensure the response fields are populated correctly
22402240
assert.Equal(t, request.VMID, resp.VMID)
22412241

2242-
// Currently StopVM doesn't work when the VM is paused, since StopVM calls its in-VM agent.
2243-
_, err = fcClient.ResumeVM(ctx, &proto.ResumeVMRequest{VMID: request.VMID})
2244-
require.Equal(t, status.Code(err), codes.OK)
2245-
22462242
_, err = fcClient.StopVM(ctx, &proto.StopVMRequest{VMID: request.VMID})
22472243
require.Equal(t, status.Code(err), codes.OK)
22482244
}

0 commit comments

Comments
 (0)