Commits

Brian Kearns  committed 6ab3c95

fix test_ioctl timing issue for all cases

  • Participants
  • Parent commits 71357aa

Comments (0)

Files changed (1)

File pypy/module/fcntl/test/test_fcntl.py

             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)