Tuleap Community Edition development and releases are no longer public. You have until September 30th to download packages and sources in Tuleap project. You can contact the team if you need further assistance.

    •  
      request #47832 flacky XTS integration tests
    Infos
    #47832
    Marie Ange Garnier (marieange)
    2026-09-08 10:39
    2026-09-07 11:49
    49580
    Details
    flacky XTS integration tests

    tests-1 | 1) Tuleap\CrossTracker\Query\Advanced\Metadata\SubmittedOnMetadataTest::testMultipleLesserThan tests-1 | Failed asserting that actual size 4 matches expected size 2. tests-1 | tests-1 | /usr/share/tuleap/plugins/crosstracker/tests/integration/Query/Advanced/Metadata/SubmittedOnMetadataTest.php:272 tests-1 | tests-1 | FAILURES! tests-1 | Tests: 860, Assertions: 4110, Failures: 1.

    XTS integration tests can be flacky.

    Why

    TQL's NOW() is rendered with a 'Y-m-d H:i' format, so DateTimeValueRounder rounds it to the minute, if the time before test setup and test execution is too small, the test might fail because now in setup could be priory to NOW in XTS query.

    Cross tracker search
    All
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Marie Ange Garnier (marieange)
    Closed
    2026-09-08
    Attachments
    Empty
    References
    Referenced by request #47832

    Follow-ups

    User avatar
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes