Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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)

...

  • 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.

...