kangkaisen commented on a change in pull request #4439: URL: https://github.com/apache/incubator-doris/pull/4439#discussion_r476391386
########## File path: fe/fe-core/src/test/java/org/apache/doris/analysis/ExprTest.java ########## @@ -24,18 +24,43 @@ import com.google.common.collect.Maps; +import org.apache.doris.mysql.privilege.MockedAuth; +import org.apache.doris.mysql.privilege.PaloAuth; +import org.apache.doris.qe.ConnectContext; +import org.apache.doris.utframe.DorisAssert; +import org.apache.doris.utframe.UtFrameUtils; import org.junit.Assert; import org.junit.Test; +import org.junit.BeforeClass; +import org.junit.AfterClass; -import java.util.Map; -import java.util.Set; +import java.io.IOException; +import java.util.*; import mockit.Expectations; import mockit.Injectable; import mockit.Mocked; public class ExprTest { + private static String runningDir = "fe/mocked/DemoTest/" + UUID.randomUUID().toString() + "/"; Review comment: You could add the test in `SelectStmtTest`, and then you could directly write `testRandFunction ` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org