crowbar/barclamp-provisioner — pull request #224 by cloudedge (2013-11-19 07:09:21+00:00)
Title: BDD Test Coverage Improvement (just 1 left!) [2/3]

This change recoveres the BDD coverage lost when we improved the annealer.

The primary change is to have the test jig "take over" roles of other jigs
if that jigs is not active but the test jig is active.

This minor change enabled the system to run as if there was a real jig.

The only other "major" change was to turn off node.alive=false if you are testing
since the system lacks the external node to trigger alive=true.

This in turn uncovered some minor places where log messages could catch nils
that had to be protected.

I did some other very minor cleanups.

.../models/barclamp_provisioner/dhcp_database.rb | 4 ++--
.../app/models/barclamp_provisioner/os_install.rb | 3 ++-
2 files changed, 4 insertions(+), 3 deletions(-)

Crowbar-Pull-ID: 49bb3a6e7c547e86059972236176f307d83b19a8

Crowbar-Release: development