Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Community Forum: http://community.pbspro.org/t/option-to-not-kick-a-scheduling-cycle-through-expect-in-ptl/1531

Summary : 

Expect method call should have a flag which can be set to False so that scheduling cycle will not be triggered when expected output is not found.

Interface:

Server.expect(self, obj_type, attrib=None, id=None, op=EQ, attrop=PTL_AND,
attempt=0, max_attempts=None, interval=None, count=None,
extend=None, offset=0, runas=None, level=logging.INFO,
msg=None, kicksched=True)


param kicksched: True by default can be set to False if kicksched_action is not supposed to be called

type kicksched: Boolean


Additional Info:

Some usecases:

  • We do not want to kick a sched cycle when waiting for jobs to finish in performance tests else it might affect job run_rate and job throughput.
  • Some tests are failing because kicking scheduling cycle is changing jobs comment in some cases.






OSS Site Map

Project Documentation Main Page

Developer Guide Pages


  • No labels