Skip to content

Conversation

@konstruktoid
Copy link
Collaborator

@konstruktoid konstruktoid commented Mar 30, 2022

This PR:

  • adds a Vagrantfile (if it doesn't exist) to configure vbguest in order to pass init() and up() sequence
  • validates the Vagrantfile after init()

Signed-off-by: Thomas Sjögren [email protected]

@konstruktoid konstruktoid changed the title add .vagrant.d/Vagrantfile to configure vbguest configure vbguest and validate Vagrantfile during lifecycle test Mar 30, 2022
Signed-off-by: Thomas Sjögren <[email protected]>
Signed-off-by: Thomas Sjögren <[email protected]>

def test_vm_lifecycle(vm_dir):
"""Test methods controlling the VM - init(), up(), halt(), destroy()."""
"""Test methods controlling the VM - init(), up(), suspend(), halt(), destroy()."""
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What was the reason for removing the suspend() here ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't? I just updated the comment to include suspend().

    v.suspend()
    assert v.SAVED == v.status()[0].state

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh, sorry. -ENOCOFFEE.

@ssbarnea ssbarnea merged commit 94a2b0f into pycontribs:main Mar 31, 2022
@konstruktoid konstruktoid deleted the inittest branch March 31, 2022 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants