From 8e551a082ce299ddb7aae3f1a1939ddb93d30d7d Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Mon, 11 May 2020 07:33:06 +0300 Subject: [PATCH] Fix flacky test #10603 --- tests/queries/0_stateless/01268_mv_scalars.sql | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/queries/0_stateless/01268_mv_scalars.sql b/tests/queries/0_stateless/01268_mv_scalars.sql index 36f1c6b64f5..fc082aaf88c 100644 --- a/tests/queries/0_stateless/01268_mv_scalars.sql +++ b/tests/queries/0_stateless/01268_mv_scalars.sql @@ -16,16 +16,16 @@ CREATE MATERIALIZED VIEW dest_table_mv TO dest_table as select * FROM (SELECT * insert into left_table select toDate('2020-01-01'), 0, number * 2 from numbers(3); select 'the rows get inserted'; -select * from dest_table; +select * from dest_table order by Date, Id, Units; insert into left_table select toDate('2020-01-01'), 5, number * 2 from numbers(3); select 'no new rows'; -select * from dest_table; +select * from dest_table order by Date, Id, Units; truncate table left_table; insert into left_table select toDate('2020-01-01') + 5, 5, number * 2 from numbers(3); select 'the rows get inserted'; -select * from dest_table; +select * from dest_table order by Date, Id, Units; drop table dest_table_mv; drop table left_table;