I had a quick look at Timeout. The problem is there in:
x = Thread.current
y = Thread.start {
sleep sec
x.raise exception, "execution expired" if x.alive?
}
and Thread x.status returns a sleep state even after the test execs complete, which seems pretty fundamentally broken... I'll have a look and see if I can find a dupe
I had a quick look at Timeout. The problem is there in:
x = Thread.current
y = Thread.start {
sleep sec
x.raise exception, "execution expired" if x.alive?
}
and Thread x.status returns a sleep state even after the test execs complete, which seems pretty fundamentally broken... I'll have a look and see if I can find a dupe
confirmed on stock Lucid and Debian testing.