Skip to content

Fix flaky tests #54890

@CarlSchwan

Description

@CarlSchwan

We have some flaky tests, let's make them more solid :)

I will add more to this issue as soon as seen them

  • Test\Files\ObjectStore\ObjectStoreStorageTest::testFOpen with data set #1 (' file.txt')
TypeError: stream_get_contents(): Argument #1 ($stream) must be of type resource, bool given

/home/runner/actions-runner/_work/server/server/tests/lib/Files/Storage/Storage.php:361
  • OCA\Files_External\Tests\Service\UserGlobalStoragesServiceTest::testGetUniqueStorages with data set #2 (100, [], [], 100, ['test_user'], [], 2)
Failed asserting that an array has the key 0.

/home/runner/actions-runner/_work/server/server/apps/files_external/tests/Service/UserGlobalStoragesServiceTest.php:270

Metadata

Metadata

Assignees

No one assigned

    Labels

    1. to developAccepted and waiting to be taken care of

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions