mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-05-26 09:50:40 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user