X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=tests%2Fsrc%2FCore%2FLock%2FMemcacheCacheLockTest.php;h=98266852f9b808a3e5fd4b258adb69f5120a0403;hb=e6c054c27602a3acadac3c423273bdf748fcee27;hp=f4aab0602cd943cc6cd3c5c2be0cdf96277c083f;hpb=ee8689cc899beecaf0943ac175550a7fb49cf199;p=friendica.git diff --git a/tests/src/Core/Lock/MemcacheCacheLockTest.php b/tests/src/Core/Lock/MemcacheCacheLockTest.php index f4aab0602c..98266852f9 100644 --- a/tests/src/Core/Lock/MemcacheCacheLockTest.php +++ b/tests/src/Core/Lock/MemcacheCacheLockTest.php @@ -1,6 +1,6 @@ markTestSkipped('Memcache is not available'); + } catch (Exception $e) { + static::markTestSkipped('Memcache is not available'); } return $lock; @@ -61,17 +63,19 @@ class MemcacheCacheLockTest extends LockTest /** * @small + * @doesNotPerformAssertions */ public function testGetLocks() { - $this->markTestIncomplete('Race condition because of too fast getAllKeys() which uses a workaround'); + static::markTestIncomplete('Race condition because of too fast getAllKeys() which uses a workaround'); } /** * @small + * @doesNotPerformAssertions */ public function testGetLocksWithPrefix() { - $this->markTestIncomplete('Race condition because of too fast getAllKeys() which uses a workaround'); + static::markTestIncomplete('Race condition because of too fast getAllKeys() which uses a workaround'); } }