This is an automated email from the ASF dual-hosted git repository. gavinchou pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push: new 439419db1d9 [fix](test) do not throw exception when a stream load consums more time (#38107) 439419db1d9 is described below commit 439419db1d9333bd0a20d84f9dec355bc4c5b84f 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