lib/testlab/node/status.rb in testlab-1.11.5 vs lib/testlab/node/status.rb in testlab-1.11.6
- old
+ new
@@ -20,9 +20,11 @@
:provisioners => self.provisioners.map(&:to_s).collect{ |p| p.split('::').last }.join(',')
}
end
def ok?
+ self.node.alive? or return false
+
result = true
# make sure the node has some free space
free_space_percent = (self.exec(%(df -P /), :ignore_exit_status => true).output.split("\n")[1].split[-2].to_i rescue nil)
if free_space_percent.nil?