Two other things: - if you choose to change the priority of the delivery process to the same priority as the running test process (i.e., 40) you would still need to tell the scheduler to give some chance to run to the other one. You can do that by yielding Processor yield - About timeouts: Denis implemented not so long ago an automatic timeout for tests. So if tests take more than a specified amount they are timed out and failed by default. Check TestCase >> defaultTimeLimit ^self class defaultTimeLimit TestCase class >> defaultTimeLimit ^DefaultTimeLimit ifNil: [DefaultTimeLimit := 1 minutes] So you may want to use that mechanism to timeout instead of hardcoding the timeouts of semaphores in each of the tests. Moreover, the mechanism created by Denis will automatically kill any processes created during a test run, to ensure you leave the system somehow "clean". So you may have that into account also. On Tue, Sep 12, 2017 at 9:46 AM, Guillermo Polito <[hidden email]> wrote:
|
Nice It should be added to the doc :) On Tue, Sep 12, 2017 at 9:51 AM, Guillermo Polito <[hidden email]> wrote:
|
Free forum by Nabble | Edit this page |