test/scheduler: Give some time for active_thread to kick in
Signed-off-by: Michal Berger <michalx.berger@intel.com> Change-Id: I138b741c9561a9d36b709f9bb4f7aced1e72139f Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6074 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
This commit is contained in:
parent
af1c51505d
commit
dfa3659be1
@ -124,6 +124,10 @@ balanced() {
|
||||
else
|
||||
active_thread "$thread0" 0
|
||||
fi
|
||||
|
||||
# Give scheduler some time to spin the cpu down|up
|
||||
sleep 0.5s
|
||||
|
||||
reactor_framework=$(rpc_cmd framework_get_reactors | jq -r '.reactors[]')
|
||||
printf '* Sample %u\n' "$samples"
|
||||
# Include main cpu to check if thread is put back on it
|
||||
|
Loading…
Reference in New Issue
Block a user