Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maximum Execution Time problems in the DBUnit component #32

Closed
elyobo opened this issue Sep 29, 2010 · 2 comments
Closed

Maximum Execution Time problems in the DBUnit component #32

elyobo opened this issue Sep 29, 2010 · 2 comments

Comments

@elyobo
Copy link

elyobo commented Sep 29, 2010

I've suddenly started running into maximum execution time errors when running my tests in bulk (i.e. on an entire directory, rather than test by test). The errors always occur somewhere in DataSet/FlatXmlDataSet.php or DataSet/AbstractTable.php, e.g. "
Fatal error: Maximum execution time of 10 seconds exceeded in /usr/local/share/pear/PEAR/PHPUnit/Extensions/Database/DataSet/FlatXmlDataSet.php on line 90".

I have tried setting max_execution_time and max_input_time to 0 in my php.ini, and have also tried setting them using the -d parameter to phpunit (e.g. phpunit -d max_input_time=0), but it does not have any affect.

When running the tests one by one, the problem does not occur.

The maximum execution time that it claims is always 10 seconds.

Version information

  • php5-cli 5.2.6.dfsg.1-1+lenny9
  • php5-xdebug 2.0.3-1
  • phpunit 3.4.14
@whatthejeff
Copy link
Contributor

This should probably be opened here: http://github.com/sebastianbergmann/dbunit.

@elyobo
Copy link
Author

elyobo commented Sep 29, 2010

Right you are, thanks.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants