Skip to content

Commit

Permalink
test: remove unneeded assert on vm.state
Browse files Browse the repository at this point in the history
`vm.start()` already asserts `vm.state == "Running"`, so no need to do
it again at the callsite.

Signed-off-by: Patrick Roy <roypat@amazon.co.uk>
  • Loading branch information
roypat authored and bchalios committed Oct 8, 2024
1 parent 29f66dd commit 121fab6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tools/create_snapshot_artifact/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,6 @@ def main():
)

vm.start()
# Ensure the microVM has started.
assert vm.state == "Running"

# Populate MMDS.
data_store = {
Expand Down

0 comments on commit 121fab6

Please sign in to comment.