From 46df5563ac97b609c937efd3b08d92994c9c25bc Mon Sep 17 00:00:00 2001 From: Georg Semmler Date: Wed, 7 Feb 2024 07:40:59 +0100 Subject: [PATCH] Add another order clause to fix another non-deterministic test --- diesel_tests/tests/insert_from_select.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/diesel_tests/tests/insert_from_select.rs b/diesel_tests/tests/insert_from_select.rs index 582ccd60d6ba..edf14da6fdac 100644 --- a/diesel_tests/tests/insert_from_select.rs +++ b/diesel_tests/tests/insert_from_select.rs @@ -395,6 +395,7 @@ fn on_conflict_do_update_with_boxed_select() { users .select((id, name.concat(" says hi"))) + .order(id) .into_boxed() .insert_into(posts) .into_columns((user_id, title)) @@ -411,6 +412,7 @@ fn on_conflict_do_update_with_boxed_select() { users .select((id, name.concat(" says hi"))) + .order(id) .into_boxed() .insert_into(posts) .into_columns((user_id, title))