Skip to content

Commit 313d3d2

Browse files
committed
Make row order deterministic
1 parent 6a79175 commit 313d3d2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

singlestoredb/tests/test_connection.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1255,12 +1255,12 @@ def test_local_infile(self):
12551255
'fields terminated by "," lines terminated by "\n";', [path],
12561256
)
12571257

1258-
self.cur.execute(f'select * from {tblname};')
1258+
self.cur.execute(f'select * from {tblname} order by first_name')
12591259
out = list(self.cur)
12601260
assert out == [
12611261
('John', 'Doe', 34),
1262-
('Sandy', 'Smith', 24),
12631262
('Patty', 'Jones', 57),
1263+
('Sandy', 'Smith', 24),
12641264
], out
12651265

12661266
finally:

0 commit comments

Comments
 (0)