The core database drivers must naturally return results in the expected order, but this is not a guarantee. SQL Server does not always return the views ordered by nid. Adding a sort to the test view allows the test to pass on more databases.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3159382-2.patch | 812 bytes | beakerboy |
Comments
Comment #2
beakerboyPatch added for review.
Comment #3
beakerboyComment #5
beakerboyUnrelated error. Changing back to “needs review”.
Comment #6
daffie commentedLooks good to me.
It is the same solution as for #3146016: Sort order not specified in view test_node_revision_uid, but results asserted to be in a specific order.
For me it is RTBC.
Comment #7
alexpottCommitted and pushed 39aa6bf474 to 9.1.x and 377146dff3 to 9.0.x and 2f20396a08 to 8.9.x. Thanks!
Backported to 8.9.x to keep test stuff aligned.