pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmocore/+/39423?usp=email )
Change subject: tests/osmo_io: Introduce small sleeps waiting for write completion ......................................................................
tests/osmo_io: Introduce small sleeps waiting for write completion
Related: OS#6708 Change-Id: I637f9a5a5f633843b09d4677a0fff48bb75672e9 --- M tests/osmo_io/osmo_io_test.c 1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/23/39423/1
diff --git a/tests/osmo_io/osmo_io_test.c b/tests/osmo_io/osmo_io_test.c index d072ebe..95d78b0 100644 --- a/tests/osmo_io/osmo_io_test.c +++ b/tests/osmo_io/osmo_io_test.c @@ -108,6 +108,7 @@ if (file_bytes_write_compl == sizeof(TESTDATA)) break; osmo_select_main(1); + usleep(100 * 1000); } fflush(stdout); OSMO_ASSERT(file_bytes_write_compl == sizeof(TESTDATA));