At no point in the UT thread and reactor stats were verified. This patch makes sure that those are checked and points out a glaring issue fixed in the next patch. Please note that spdk_get_ticks() and spdk_delay_us() increase a single global value, which does not play well with tests simulating multiple reactors. As such each round through reactors resets the global timer and verifies it at the end. Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Change-Id: I27878fe35c1606ec20c548fe3bb5ede0102c8a63 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8020 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> |
||
---|---|---|
.. | ||
app.c | ||
reactor.c | ||
Makefile |