def METHOD_NAME(entry_points, aiida_local_code_factory, aiida_caplog):
    """Test the ``minimum_poll_interval`` input by actually running through the engine."""
    entry_points.add(monitor_emit_warning, 'aiida.calculations.monitors:core.emit_warning')
    code = aiida_local_code_factory('core.arithmetic.add', '/bin/bash')
    builder = code.get_builder()
    builder.x = Int(1)
    builder.y = Int(1)
    builder.monitors = {'always_kill': Dict({'entry_point': 'core.emit_warning', 'minimum_poll_interval': 5})}
    builder.metadata = {'options': {'sleep': 1, 'resources': {'num_machines': 1}}}
    _, node = run_get_node(builder)
    assert node.is_finished_ok
    # Check that the number of log messages emitted by the monitor is just 1 as it should have been called just once.
    logs = [rec.message for rec in aiida_caplog.records if rec.message == 'monitor_emit_warning monitor was called']
    assert len(logs) == 1