This is just the calls to host_update_lifecycle_info.
Now the db table is Needed.
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
}
}
+ host_update_lifecycle_info($ho, $isprep ? 'selectprep' : 'select');
+
return $ho;
}
--- ##OSSTEST## 012 Preparatory
+-- ##OSSTEST## 012 Needed
--
-- Records the jobs which have touched a host, for host sharing/reuse
-- The information here is ephemeral - it is cleared when a host is
# Proceed with the install
install();
+host_update_lifecycle_info($ho, 'wiped');
}
install();
+host_update_lifecycle_info($ho, 'wiped');
return unless $ho->{Shared};
die unless $ho->{Shared}{State} eq 'mid-test';
post_test_cleanup();
+ host_update_lifecycle_info($ho, 'final');
host_shared_mark_ready($ho, $sharetype, 'mid-test', 'ready');
}
}
}
logm("logs captured to $stash");
+host_update_lifecycle_info($ho, 'final');