Author: Brian Kearns <[email protected]>
Branch:
Changeset: r59534:6ab3c95ad5ab
Date: 2012-12-21 15:32 -0500
http://bitbucket.org/pypy/pypy/changeset/6ab3c95ad5ab/
Log: fix test_ioctl timing issue for all cases
diff --git a/pypy/module/fcntl/test/test_fcntl.py
b/pypy/module/fcntl/test/test_fcntl.py
--- a/pypy/module/fcntl/test/test_fcntl.py
+++ b/pypy/module/fcntl/test/test_fcntl.py
@@ -194,7 +194,7 @@
os._exit(0)
try:
# We're the parent, we want TIOCGPGRP calls after child started
but before it dies
- time.sleep(0)
+ time.sleep(0.5)
buf = array.array('i', [0])
res = fcntl.ioctl(mfd, TIOCGPGRP, buf, True)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit