From a3003029561431539f0ef24cfac3a914d4faee76 Mon Sep 17 00:00:00 2001 From: Haojun Liao Date: Mon, 30 Oct 2023 13:33:59 +0800 Subject: [PATCH] fix(test): wait for 1 sec before inserting data. --- tests/script/tsim/stream/pauseAndResume.sim | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/script/tsim/stream/pauseAndResume.sim b/tests/script/tsim/stream/pauseAndResume.sim index 402e0086f7..128aafb0c9 100644 --- a/tests/script/tsim/stream/pauseAndResume.sim +++ b/tests/script/tsim/stream/pauseAndResume.sim @@ -16,6 +16,7 @@ sql create table ts2 using st tags(2,2,2); sql create table ts3 using st tags(3,2,2); sql create table ts4 using st tags(4,2,2); sql create stream streams1 trigger at_once IGNORE EXPIRED 0 IGNORE UPDATE 0 watermark 1d into streamt1 as select _wstart, count(*) c1, sum(a) c3 from st interval(10s); +sleep 1000 sql pause stream streams1;