Skip to content

[Stopwatch] Random failures in test suite #10454

Closed
@romainneutron

Description

@romainneutron

These errors occur quite often on Travis:

1) Symfony\Component\Stopwatch\Tests\StopwatchEventTest::testStartTime
Failed asserting that false is true.
/home/travis/build/symfony/symfony/src/Symfony/Component/Stopwatch/Tests/StopwatchEventTest.php:127

1) Symfony\Component\Stopwatch\Tests\StopwatchEventTest::testEnsureStopped
Failed asserting that 349.0 matches expected 300.
/home/travis/build/symfony/symfony/src/Symfony/Component/Stopwatch/Tests/StopwatchEventTest.php:116

1) Symfony\Component\Stopwatch\Tests\StopwatchEventTest::testDuration
Failed asserting that 309 matches expected 200.
/home/travis/build/symfony/symfony/src/Symfony/Component/Stopwatch/Tests/StopwatchEventTest.php:82

2) Symfony\Component\Stopwatch\Tests\StopwatchEventTest::testEndTime
Failed asserting that 277 matches expected 200.
/home/travis/build/symfony/symfony/src/Symfony/Component/Stopwatch/Tests/StopwatchEventTest.php:168

3) Symfony\Component\Stopwatch\Tests\StopwatchTest::testStop
Failed asserting that 225 matches expected 200.
/home/travis/build/symfony/symfony/src/Symfony/Component/Stopwatch/Tests/StopwatchTest.php:80

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