[issue13878] test_sched failures on Windows buildbot

2012-02-16 Thread Charles-François Natali
Charles-François Natali added the comment: Should be fixed now, thanks. -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker _

[issue13878] test_sched failures on Windows buildbot

2012-02-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset 662c60d26183 by Charles-François Natali in branch '3.2': Issue #13878: Fix random test_sched failures. http://hg.python.org/cpython/rev/662c60d26183 New changeset e35091b95813 by Charles-François Natali in branch 'default': Issue #13878: Fix random

[issue13878] test_sched failures on Windows buildbot

2012-02-14 Thread Nadeem Vawda
Nadeem Vawda added the comment: Ah, I suppose that makes sense. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue13878] test_sched failures on Windows buildbot

2012-02-14 Thread Charles-François Natali
Charles-François Natali added the comment: Well, it's not really needed, as long as scheduler deals correctly with expired deadlines. -- ___ Python tracker ___ _

[issue13878] test_sched failures on Windows buildbot

2012-02-11 Thread Nadeem Vawda
Nadeem Vawda added the comment: Patch looks good, but you might want to make this change to test_priority: l = [] fun = lambda x: l.append(x) scheduler = sched.scheduler(time.time, time.sleep) +now = time.time() for priority in [1,

[issue13878] test_sched failures on Windows buildbot

2012-02-06 Thread Charles-François Natali
Charles-François Natali added the comment: Here's another failure due to the same type of race: """ == FAIL: test_queue (test.test_sched.TestCase) -- Traceback

[issue13878] test_sched failures on Windows buildbot

2012-02-04 Thread Charles-François Natali
Charles-François Natali added the comment: """ for x in [0.05, 0.04, 0.03, 0.02, 0.01]: z = scheduler.enter(x, 1, fun, (x,)) """ Since the test uses relative times, if the process is preempted more than 0.01s between two calls to enter (or if the clock goes backwards), the absolute times

[issue13878] test_sched failures on Windows buildbot

2012-01-26 Thread Nadeem Vawda
Nadeem Vawda added the comment: Oops, those links should be: http://www.python.org/dev/buildbot/all/builders/x86%20XP-5%203.x/builds/4072/steps/test/logs/stdio and: http://www.python.org/dev/buildbot/all/builders/x86%20XP-5%203.x/builds/4062/steps/test/logs/stdio -- _

[issue13878] test_sched failures on Windows buildbot

2012-01-26 Thread Nadeem Vawda
New submission from Nadeem Vawda : http://www.python.org/dev/buildbot/all/builders/x86%20XP-5%203.x/builds/4072/steps/test/logs/stdio: FAIL: test_enter (test.test_sched.TestCase) -- Traceback (most recent call last):