test: more sleep when flow insert makes it serial (#4373)

* tests: more sleep

* fix: wait more time

* fix: update result file
This commit is contained in:
discord9
2024-07-16 11:36:31 +08:00
committed by GitHub
parent 072d7c2022
commit b2c5f8eefa
4 changed files with 30 additions and 10 deletions

View File

@@ -10,6 +10,7 @@ SINK TO out_num_cnt
AS
SELECT sum(number) FROM numbers_input GROUP BY tumble(ts, '1 second', '2021-07-01 00:00:00');
-- SQLNESS SLEEP 500ms
INSERT INTO numbers_input
VALUES
(20, "2021-07-01 00:00:00.200"),
@@ -18,12 +19,13 @@ VALUES
-- SQLNESS SLEEP 3s
SELECT col_0, window_start, window_end FROM out_num_cnt;
-- SQLNESS SLEEP 500ms
INSERT INTO numbers_input
VALUES
(23,"2021-07-01 00:00:01.000"),
(24,"2021-07-01 00:00:01.500");
-- SQLNESS SLEEP 2s
-- SQLNESS SLEEP 3s
SELECT col_0, window_start, window_end FROM out_num_cnt;
DROP FLOW test_numbers;