Loading
ut/reactor: consolidate polling for all events
Scheduler and governor tests polled events till completion, but depended on exact number of events and repeated those calls multiple times. This patch adds _run_events_till_completion() which will run all events scheduled, until there are no more to process. Signed-off-by:Tomasz Zawadzki <tomasz.zawadzki@intel.com> Change-Id: Iab3af2e031510b095ddfcc93d2320bbdc7d84aeb Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8408 Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by:
Ziye Yang <ziye.yang@intel.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com>