MDL-40207 simplepie: reduce false failures in unit tests
authorDan Poltawski <dan@moodle.com>
Mon, 17 Jun 2013 02:23:44 +0000 (10:23 +0800)
committerDan Poltawski <dan@moodle.com>
Mon, 17 Jun 2013 02:32:25 +0000 (10:32 +0800)
commitf1da13227122374d7415fabf9ae5c2dbf3dc9852
treef213a4e58a6dc159361000868a902069441e7f84
parentf19288330522e5e9b32ce62e2a5405af3b51340a
MDL-40207 simplepie: reduce false failures in unit tests

The simplepie tests time out too quickly due to a low connect timeout,
to fix this:

* Introduced a way to set the timeout during intitial construction
* Converted the unit tests to use a high timeout value
lib/simplepie/moodle_simplepie.php
lib/tests/rsslib_test.php