diff options
author | Klemens Schölhorn <klemens.schoelhorn@advantest.com> | 2023-04-20 14:54:36 +0200 |
---|---|---|
committer | Klemens Schölhorn <klemens.schoelhorn@advantest.com> | 2023-06-02 12:30:10 +0200 |
commit | 6006598f558908a6a114faa60e608bbf355ef4c8 (patch) | |
tree | 2cb0d1006cb42cffa136d2e8884190eaba553389 /.git-blame-ignore-revs | |
parent | 0f10827d148e915ac1492cb09f6731aa94042cfc (diff) |
Make test for prefetch requests limit stable
The prefetch requests are added in a background process, so the might
not be ready when the test wants to count them. Fix it by introducing a
wait_for untility function that waits for a assert to pass for a
specified timeout, to give the background thread the chance to start and
add the prefetch requests.
Also lock the prefetch lock before trying to access the extents to
prevent a data race.
Diffstat (limited to '.git-blame-ignore-revs')
0 files changed, 0 insertions, 0 deletions