machine/aws: release running test before saving console
AWS takes a disproportionately long time to save console logs
from terminated instances. Lets release tests before we start
saving console.
@@ -94,6 +94,7 @@ func (am *machine) Destroy() {
am.journal.Destroy()
}
+ am.cluster.EarlyRelease()
if err := am.saveConsole(origConsole); err != nil {
plog.Errorf("Error saving console for instance %v: %v", am.ID(), err)
}
