Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2019-05-29 17:09:07 +0300
committerBackportbot <backportbot-noreply@rullzer.com>2019-07-25 16:44:06 +0300
commit3f5ce65879317cb596adc49e86f6d206dbf68685 (patch)
treef505768de58aa5ebbf4a1e4bbfb1ff5e3242c3a9 /tests
parenteeefef4843745ee38a3924eefc86a15233d47023 (diff)
Lock SCSS so we only run 1 job at a time
This is bit hacky but a start to lock the SCSS compiler properly Retry during 10s then give up Properly get error message Do not clear locks and properly debug scss caching Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/Template/SCSSCacherTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/Template/SCSSCacherTest.php b/tests/lib/Template/SCSSCacherTest.php
index d84b96773bc..d4d60c2dc1b 100644
--- a/tests/lib/Template/SCSSCacherTest.php
+++ b/tests/lib/Template/SCSSCacherTest.php
@@ -528,10 +528,10 @@ class SCSSCacherTest extends \Test\TestCase {
->willReturn([$file]);
$cache = $this->createMock(ICache::class);
- $this->cacheFactory->expects($this->once())
+ $this->cacheFactory->expects($this->exactly(2))
->method('createDistributed')
->willReturn($cache);
- $cache->expects($this->once())
+ $cache->expects($this->exactly(2))
->method('clear')
->with('');
$this->appData->expects($this->once())