icles: Fix waiting for segment-done if it happens too fast
authorSebastian Dröge <sebastian@centricular.com>
Tue, 7 Apr 2015 02:08:10 +0000 (19:08 -0700)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 7 Apr 2015 02:08:59 +0000 (19:08 -0700)
commit6611517af574d2f5d2007b9458143438cec9029e
treea24ed1a1d7387b29d7a7ddd7a1bfaa6cbda12d6d
parentaeb4d3236349db4e1855a1a69eea121da705ffa6
icles: Fix waiting for segment-done if it happens too fast

Sometimes we can get segment-done before we got async-done. If we waited
for async-done only, the segment-done would be dropped and we would wait
forever for it a few lines below.
tests/icles/test-segment-seeks.c