Skip to content

Commit

Permalink
Fix flaky test (#4294)
Browse files Browse the repository at this point in the history
  • Loading branch information
greg-rychlewski authored Oct 7, 2023
1 parent 344793a commit ddaa2cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integration_test/cases/joins.exs
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ defmodule Ecto.Integration.JoinsTest do
query = from(p in Post, left_join: ca in assoc(p, :comments_authors),
preload: [comments_authors: ca])
[p1, p2] = TestRepo.all(query)
assert p1.comments_authors == [u1, u2]
assert Enum.sort_by(p1.comments_authors, & &1.id) == [u1, u2]
assert p2.comments_authors == [u2]

# With on
Expand Down

0 comments on commit ddaa2cf

Please sign in to comment.