Skip to content
Success

Changes

Summary

  1. tests/osmo_io: Introduce small sleeps waiting for read completion (details)
Commit d581062829f3259bc6c4e59a4fc3b6ab20c51dde by Pau Espin Pedrol
tests/osmo_io: Introduce small sleeps waiting for read completion

Sometimes test_file() fails during jenkins run because it finished the
main loop iterations without having received a read complete cb.
This may be due to filesystem delays due to system load, it's difficult
to say since it only happens sporadically.
Add some small sleeps under each loop iteration (which can end up
waiting up to 10s after full set of iterations) to make sure we receive
the read callback in a timely fashion.

Related: OS#6708
Change-Id: If27e3885aa17edbb7f2428cf6b5b30fb0f987d7d
The file was modifiedtests/osmo_io/osmo_io_test.c