I'm trying to pick up the ball for Nigel because he's rather busy with something else at the moment.
What Nigel was trying to say in comment #19, was that we're not seeing the correct behaviour. i.e. the code was not working the way it is supposed to. The thread is not getting killed when there is a timeout.
From IRC, just so there's a record here, it sounds like you're asking for a test case in pure Ruby that doesn't involve the Timeout module/class.
I'm trying to pick up the ball for Nigel because he's rather busy with something else at the moment.
What Nigel was trying to say in comment #19, was that we're not seeing the correct behaviour. i.e. the code was not working the way it is supposed to. The thread is not getting killed when there is a timeout.
From IRC, just so there's a record here, it sounds like you're asking for a test case in pure Ruby that doesn't involve the Timeout module/class.