Hi,
I have a test taking more than the 10 seconds limit to execute completely.
I tried to adjust this limit but failed to get it taken in
consideration. I tried from 3 places:
- in the test method itself
- in TestCase setUp
- in a dedicated TestResources
The adjustment seems to alway been too late, the limit is still at 10s.
To adjust the limit I did as following, for example in a dedicated
TestResource:
setUp
"Some recursive scripts need more time to execute completely"
defaultTimeLimitBackup := TestCase defaultTimeLimit.
TestCase defaultTimeLimit: 60 seconds.
tearDown
TestCase defaultTimeLimit: defaultTimeLimitBackup
From the debugger raised at the test fail, I can see the
DefaultTimeLimit is correctly set to 60s.
If I adjust this time limit before executing test case, for example from
the settings browser, it is going fine. But I will prefer adjust it
programmatically.
Any idea?
Thanks
Hilaire
--
Dr. Geo
http://drgeo.eu