This is an automated email from the ASF dual-hosted git repository. dataroaring pushed a commit to branch branch-3.0 in repository https://gitbox.apache.org/repos/asf/doris.git
commit 2aa54ba7a5ee74aa9eb0108c2690f63581f521fb Author: Yongqiang YANG <98214048+dataroar...@users.noreply.github.com> AuthorDate: Sat Jul 20 14:58:45 2024 +0800 [fix](test) do not throw exception when a stream load consums more time (#38107) than expected --- .../org/apache/doris/regression/action/StreamLoadAction.groovy | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/regression-test/framework/src/main/groovy/org/apache/doris/regression/action/StreamLoadAction.groovy b/regression-test/framework/src/main/groovy/org/apache/doris/regression/action/StreamLoadAction.groovy index 606b9bc4ac8..70a7f41e82b 100644 --- a/regression-test/framework/src/main/groovy/org/apache/doris/regression/action/StreamLoadAction.groovy +++ b/regression-test/framework/src/main/groovy/org/apache/doris/regression/action/StreamLoadAction.groovy @@ -366,10 +366,10 @@ class StreamLoadAction implements SuiteAction { if (time > 0) { long elapsed = endTime - startTime - try{ - Assert.assertTrue("Expect elapsed <= ${time}, but meet ${elapsed}", elapsed <= time) - } catch (Throwable t) { - throw new IllegalStateException("Expect elapsed <= ${time}, but meet ${elapsed}") + if (elapsed > time) { + log.info("Stream load consums more time than expected, elapsed ${elapsed} ms, expect ${time} ms") + } else { + log.info("Stream load consums time elapsed ${elapsed} ms, expect ${time} ms") } } } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org