From 7f5ea8a0aa2b81838157f98f715b1d35d8fc7ad6 Mon Sep 17 00:00:00 2001 From: Brian Wolff Date: Fri, 11 Nov 2011 15:33:37 +0000 Subject: [PATCH] Follow-up r102751 - I think this test was intermitently failing because it was re-using thumbs generated for previous tests. Add a random number to stop that. --- tests/phpunit/includes/media/ExifRotationTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/includes/media/ExifRotationTest.php b/tests/phpunit/includes/media/ExifRotationTest.php index 91ea96cd4c..639091d04f 100644 --- a/tests/phpunit/includes/media/ExifRotationTest.php +++ b/tests/phpunit/includes/media/ExifRotationTest.php @@ -11,7 +11,7 @@ class ExifRotationTest extends MediaWikiTestCase { $this->handler = new BitmapHandler(); $this->repo = new FSRepo(array( 'name' => 'temp', - 'directory' => wfTempDir() . '/exif-test-' . time(), + 'directory' => wfTempDir() . '/exif-test-' . time() . '-' . mt_rand(), 'url' => 'http://localhost/thumbtest' )); if ( !wfDl( 'exif' ) ) { -- 2.20.1