Skip to content

Commit 46df556

Browse files
committed
Add another order clause to fix another non-deterministic test
1 parent 3383b42 commit 46df556

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

diesel_tests/tests/insert_from_select.rs

+2
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,7 @@ fn on_conflict_do_update_with_boxed_select() {
395395

396396
users
397397
.select((id, name.concat(" says hi")))
398+
.order(id)
398399
.into_boxed()
399400
.insert_into(posts)
400401
.into_columns((user_id, title))
@@ -411,6 +412,7 @@ fn on_conflict_do_update_with_boxed_select() {
411412

412413
users
413414
.select((id, name.concat(" says hi")))
415+
.order(id)
414416
.into_boxed()
415417
.insert_into(posts)
416418
.into_columns((user_id, title))

0 commit comments

Comments
 (0)