Skip to content

Commit 464d3a4

Browse files
authored
Merge pull request firecracker-microvm#519 from alakesh/describe-instance
Remove resume before stopVM in test, as it is no longer needed for stopVM
2 parents 3d439a9 + b93d349 commit 464d3a4

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)