fix a non-deterministic test
This commit is contained in:
parent
495e5c94cf
commit
bc5c89cbf0
|
@ -1021,9 +1021,11 @@
|
|||
(set! res (sync (read-bytes-evt 2 i))))))
|
||||
|
||||
(write-bytes #"1" o)
|
||||
(sleep 0.1)
|
||||
(sync (system-idle-evt))
|
||||
(thread-suspend t)
|
||||
(write-bytes #"2" o)
|
||||
(test #"1" read-bytes 1 i)
|
||||
(thread-resume t)
|
||||
(sleep)
|
||||
(write-bytes #"34" o)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user