From: daniel Date: Thu, 21 Jun 2012 17:11:39 +0000 (+0200) Subject: improved failure message for timing-dependant test case X-Git-Tag: 1.31.0-rc.0~22097^2^2~85 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/membres/fiche.php?a=commitdiff_plain;h=42770ef54dfd0a6d8e06000eabd87da5ec78f2ba;p=lhc%2Fweb%2Fwiklou.git improved failure message for timing-dependant test case Change-Id: If3bcc4fb55aea6713e9082e249ddbae4ccd26ffc --- diff --git a/tests/phpunit/maintenance/backupTextPassTest.php b/tests/phpunit/maintenance/backupTextPassTest.php index 1f2acffbb1..1aa9326ad5 100644 --- a/tests/phpunit/maintenance/backupTextPassTest.php +++ b/tests/phpunit/maintenance/backupTextPassTest.php @@ -382,7 +382,7 @@ class TextPassDumperTest extends DumpTestCase { $this->assertEmpty( $files, "Remaining unchecked files" ); // ... and have dealt with more than one checkpoint file - $this->assertGreaterThan( 1, $checkpointFiles, "# of checkpoint files" ); + $this->assertGreaterThan( 1, $checkpointFiles, "expected more than 1 checkpoint to have been created. Checkpoint interval is $checkpointAfter seconds, maybe your computer is too fast?" ); $this->expectETAOutput(); }