https://bugzilla.wikimedia.org/show_bug.cgi?id=33663

--- Comment #21 from Dan Nessett <[email protected]> 2012-01-19 21:50:46 UTC 
---
(In reply to comment #18)
> The timeout messages comes from PHPUnit. It is most probably caused because
> PHP_Invoker is installed ( https://github.com/sebastianbergmann/php-invoker  )
> which make PHPUnit think our tests are small and should run in less than a
> second.
> 
> By looking at the code of PHPUnit, this behavior only happens while in strict
> mode (by looking at PHPUnit/Framework/TestResult.php. Can you try editing
> MediaWiki file "tests/phpunit/suite.xml", in the very first few lines you
> should have something looking like:
>  strict="true"
> 
> replace it by:
>   strict="false"
> 
> That should disable strict node and the whole timeout system. If that solve 
> the
> issue, we would have to find a way to disable that system entirely.

That did the trick. There is now only 1 failure. That is easily fixed if the
correct tactic is to normalize the expected output on the assert (see Comment
10). If so, someone speak up and I will make the necessary change.

I have attached the output of make safe with strict="false" in suite.mxl.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to