Class: HotCell::Fixtures::Hungry

Inherits:
Operation show all
Defined in:
lib/hot_cell/test_operations.rb

Constant Summary

Constants inherited from Operation

Operation::READ_BYTES

Instance Method Summary collapse

Methods inherited from Operation

abstract_operation, abstract_operation?, before_fork, before_worker_boot, inherited, limits, operation, operation_name, #run_tool, unreadable

Instance Method Details

#perform(_inputs, _outputs) ⇒ Object



151
152
153
# File 'lib/hot_cell/test_operations.rb', line 151

def perform(_inputs, _outputs)
  raise HotCell::MemoryExhausted, "out of memory -- size == 732MB"
end