Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Transient tests hunting #60417

Open
Open
@xabbuh

Description

@xabbuh

We have some tests that from time to time fail in our CI jobs:

  • 1) Symfony\Bundle\FrameworkBundle\Tests\Functional\CachePoolsTest::testCachePools
    Failed asserting that true is false.
    
    /home/runner/work/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Tests/Functional/CachePoolsTest.php:93
    /home/runner/work/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Tests/Functional/CachePoolsTest.php:24
    
  • 1) Symfony\Component\HttpClient\Tests\AmpHttpClientTest::testNonBlockingStream
    Failed asserting that two strings are identical.
    --- Expected
    +++ Actual
    @@ @@
    -'<1>'
    +''
    
    /home/runner/work/symfony/symfony/src/Symfony/Component/HttpClient/Tests/HttpClientTestCase.php:128
    
  • 1) Symfony\Component\ErrorHandler\Tests\ErrorEnhancer\ClassNotFoundErrorEnhancerTest::testEnhance with data set #4 ('Interface "Foo\Bar\WhizBangIn... found', 'Attempted to load interface "...space?')
    UnexpectedValueException: RecursiveDirectoryIterator::__construct(/home/runner/work/symfony/symfony/src/Symfony/Component/AssetMapper/Tests/Fixtures/.!!AB1/cache/test/Symfony/Config/Framework/Assets): Failed to open directory: No such file or directory 
    

PRs welcome to make them more resilient.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions