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

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from [email protected] 2012-04-06 21:27:35 UTC ---
(In reply to comment #0)
> PHPUnit think our tests are small and should run in less than a
> second.

Yes.
PHPUnit knows three test sizes:
* small (this is the default test size), defaults to: <= 1 second
* medium, defaults to: <= 10 second
* large, defaults to: <= 60 second

Adding an „@group medium” or „@group large” to the test functions gives the
test more execution time.

See TextPassDumperTest::testCheckpointPlain() in
https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=tests/phpunit/maintenance/backupTextPassTest.php;h=5882cc02611a2649c2aa2fc02802dfb99cfde497;hb=da58f7f55cf588aaffd55b3f601f521514d0166f#l394

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
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