Skip to content

Commit

Permalink
tests: Sort arrays to be deterministic
Browse files Browse the repository at this point in the history
  • Loading branch information
jesse-c committed Nov 4, 2024
1 parent 05e2d6c commit 91e341b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions tests/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,16 +288,16 @@ def test_repeated_integration(test_vespa):

assert search_weights_1 == search_weights_2 == search_weights_3 == search_weights_4
assert (
no_change_family_1
== no_change_family_2
== no_change_family_3
== no_change_family_4
sorted(no_change_family_1)
== sorted(no_change_family_2)
== sorted(no_change_family_3)
== sorted(no_change_family_4)
)
assert (
no_change_family_passages_1
== no_change_family_passages_2
== no_change_family_passages_3
== no_change_family_passages_4
sorted(no_change_family_passages_1)
== sorted(no_change_family_passages_2)
== sorted(no_change_family_passages_3)
== sorted(no_change_family_passages_4)
)

assert sorted(change_family_passages_1) == sorted(change_family_passages_4)
Expand Down

0 comments on commit 91e341b

Please # to comment.