[PR #11866] Fix non-deterministic test #13299

Open
opened 2026-01-22 16:16:46 +01:00 by admin · 0 comments
Owner

Original Pull Request: https://github.com/doctrine/orm/pull/11866

State: closed
Merged: Yes


I've got a random test failure on my CI, which led me to the discovery that the test is missing ORDER BYs to make it deterministic.

1) Doctrine\Tests\ORM\Functional\QueryTest::testModifiedLimitQuery
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'gblanco1'
+'gblanco0'

/.../tests/Tests/ORM/Functional/QueryTest.php:567
**Original Pull Request:** https://github.com/doctrine/orm/pull/11866 **State:** closed **Merged:** Yes --- I've got a random test failure on my CI, which led me to the discovery that the test is missing ORDER BYs to make it deterministic. ``` 1) Doctrine\Tests\ORM\Functional\QueryTest::testModifiedLimitQuery Failed asserting that two strings are equal. --- Expected +++ Actual @@ @@ -'gblanco1' +'gblanco0' /.../tests/Tests/ORM/Functional/QueryTest.php:567 ```
admin added the pull-request label 2026-01-22 16:16:46 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#13299