Skip to content

intermittent in CI #14855

Description

@staabm

continous integration build in PHP 7.4 and PHP 8.0 only, fail sometimes.
its not reproducible every time.

There was 1 failure:

1) PHPStan\Type\IntersectionTypeTest::testIsAcceptedBy with data set #7 (PHPStan\Type\IntersectionType Object (...), PHPStan\Type\Constant\ConstantArrayType Object (...), PHPStan\TrinaryLogic Object (...))
non-empty-array&hasOffsetValue(0, int) -> isAcceptedBy(array{int, int})
Failed asserting that two strings are identical.
--- Expected
+++ Actual
@@ @@
-'Maybe'
+'No'

D:\a\phpstan-src\phpstan-src\tests\PHPStan\Type\IntersectionTypeTest.php:239
D:\a\phpstan-src\phpstan-src\tests\vendor\phpunit\phpunit\src\TextUI\Command.php:146

figure out why this happens. feels like a race condition which most of the time happens on windows. linux is less often failling.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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