namespace Friendica\Test\src\Core\Lock;
use Friendica\Core\Cache\MemcacheCache;
-use Friendica\Core\Config\Configuration;
+use Friendica\Core\Config\IConfig;
use Friendica\Core\Lock\CacheLock;
/**
{
protected function getInstance()
{
- $configMock = \Mockery::mock(Configuration::class);
+ $configMock = \Mockery::mock(IConfig::class);
$host = $_SERVER['MEMCACHE_HOST'] ?? 'localhost';
return $lock;
}
+
+ /**
+ * @small
+ */
+ public function testGetLocks()
+ {
+ $this->markTestIncomplete('Race condition because of too fast getAllKeys() which uses a workaround');
+ }
+
+ /**
+ * @small
+ */
+ public function testGetLocksWithPrefix()
+ {
+ $this->markTestIncomplete('Race condition because of too fast getAllKeys() which uses a workaround');
+ }
}