Skip to content

drone CleanupRemoteStoragesTest intermittent fail #35658

Description

@phil-davis

We are getting an intermittent fail in drone PHPunit tests:
e.g.
https://drone.owncloud.com/owncloud/core/18820/209 stable10 with oracle DB

There was 1 failure:

1) OCA\Files_Sharing\Tests\Command\CleanupRemoteStoragesTest::testCleanup
Expectation failed for method name is equal to 'writeln' when invoked at sequence index 1
Parameter 0 for invocation Symfony\Component\Console\Output\OutputInterface::writeln('6 remote share(s) exist', 0) does not match expected value.
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'5 remote share(s) exist'
+'6 remote share(s) exist'

/drone/src/apps/files_sharing/lib/Command/CleanupRemoteStorages.php:67
/drone/src/apps/files_sharing/tests/Command/CleanupRemoteStoragesTest.php:183

I can run the unit test locally without error.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions