|
From: Noel D. <ma...@mc...> - 2012-02-19 02:22:28
|
Hi > So, my dev box is a bit sluggish and I've got some tests that are > bumping up against the 15 sec DEFAULT_CONNECTION_TIMEOUT in > user_agent.php. I see a big trail of setConnectionTimeout() from > WebTestCase to SimpleUserAgent, but I can't seem to figure out how to > invoke it from my base test class. When I call it from the > constructor I get: > > > Fatal error: Call to a member function setConnectionTimeout() on a > non-object in > /home/lcole/workspace/ricochetserver/rl/vendors/simpletest/web_tester.php > > > Where is the best place to make this call? It's been a while since I used the standard version of SimpleTest but do you get the same error if you setConnectionTimeout(...) in setUp()? Noel |