Navigation Menu

Skip to content

Commit

Permalink
Fix timestamp test for concurrent tests of TravisCI.
Browse files Browse the repository at this point in the history
  • Loading branch information
tanakahisateru committed Jun 26, 2014
1 parent aebbe16 commit 8386d78
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/CodeCacheTest.php
Expand Up @@ -103,6 +103,7 @@ function testReparseAfterTouch()
$time1 = filemtime('input/code-cache-01.html');
touch('input/code-cache-01.html', time());
clearstatcache();
sleep(1);
$time2 = filemtime('input/code-cache-01.html');
$this->assertNotEquals($time1, $time2, "touch() must work");

Expand Down

0 comments on commit 8386d78

Please sign in to comment.