SharedMountTest.php:367 is unreliable

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
Morris Jobke 2020-10-16 00:36:23 +02:00
parent 6627c351f8
commit d544b56260
No known key found for this signature in database
GPG key ID: FE03C3A163FEDE68

View file

@ -329,6 +329,7 @@ class SharedMountTest extends TestCase {
* @dataProvider dataPermissionMovedGroupShare
*/
public function testPermissionMovedGroupShare($type, $beforePerm, $afterPerm) {
$this->markTestSkipped('Unreliable test');
if ($type === 'file') {
$path = $this->filename;
@ -358,7 +359,7 @@ class SharedMountTest extends TestCase {
// Login as user 2 and verify the item exists
self::loginHelper(self::TEST_FILES_SHARING_API_USER2);
$this->assertTrue(\OC\Files\Filesystem::file_exists($path));
$this->assertTrue(\OC\Files\Filesystem::file_exists($path)); // TODO: unreliable - this is sometimes false
$result = $this->shareManager->getShareById($share->getFullId(), self::TEST_FILES_SHARING_API_USER2);
$this->assertEquals($beforePerm, $result->getPermissions());