Skip to content

Commit

Permalink
misc updates
Browse files Browse the repository at this point in the history
  • Loading branch information
mschuchard committed Jun 6, 2024
1 parent 2f14389 commit 92ac464
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion provisioner/fixtures/test.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ source "virtualbox-vm" "ubuntu" {
vm_name = "fixtures_default_1662571353037_70563"
}

# test local execution ssh communicator
# test local execution
# TODO: https://github.com/hashicorp/packer-plugin-virtualbox/issues/77
/*build {
sources = ["source.virtualbox-vm.ubuntu"]
Expand Down
4 changes: 3 additions & 1 deletion provisioner/testinfra.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,10 +146,12 @@ func (provisioner *Provisioner) Prepare(raws ...interface{}) error {
} else {
// pytest returned no stdout
log.Print("pytest help command returned no stdout; this indicates an issue with the specified Pytest installation")
return errors.New("pytest issue")
return errors.New("pytest installation issue")
}
}

log.Print("Testinfra installation verified")

// marker parameter
if len(provisioner.config.Marker) > 0 {
log.Printf("executing tests with marker expression: %s", provisioner.config.Marker)
Expand Down

0 comments on commit 92ac464

Please sign in to comment.