This is an automated email from the ASF dual-hosted git repository.
kxiao pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.0 by this push:
new 550add7c6a [fix](regression) fix export case (#22790) (#23115)
550add7c6a is described below
commit 550add7c6a45ffb0830737d219728930758c890d
Author: Dongyang Li <[email protected]>
AuthorDate: Thu Aug 17 18:07:10 2023 +0800
[fix](regression) fix export case (#22790) (#23115)
Co-authored-by: zgxme <[email protected]>
---
.../suites/export_p2/test_export_big_data.groovy | 18 ++----------------
1 file changed, 2 insertions(+), 16 deletions(-)
diff --git a/regression-test/suites/export_p2/test_export_big_data.groovy
b/regression-test/suites/export_p2/test_export_big_data.groovy
index 5c09b83010..0547386851 100644
--- a/regression-test/suites/export_p2/test_export_big_data.groovy
+++ b/regression-test/suites/export_p2/test_export_big_data.groovy
@@ -55,16 +55,7 @@ suite("test_export_big_data", "p2") {
String s3_endpoint = getS3Endpoint()
String region = getS3Region()
String bucket = context.config.otherConfigs.get("s3BucketName");
-
- def check_path_exists = { dir_path ->
- File path = new File(dir_path)
- if (!path.exists()) {
- assert path.mkdirs()
- } else {
- throw new IllegalStateException("""${dir_path} already exists! """)
- }
- }
-
+
def table_export_name = "test_export_big_data"
// create table and insert
sql """ DROP TABLE IF EXISTS ${table_export_name} """
@@ -88,13 +79,8 @@ suite("test_export_big_data", "p2") {
"format" = "csv");
"""
- def outfile_path_prefix =
"""/mnt/datadisk1/fangtiewei/tmpdata/test_export"""
def uuid = UUID.randomUUID().toString()
- def outFilePath = """${outfile_path_prefix}_${uuid}"""
-
-
- // check export path
- check_path_exists.call("${outFilePath}")
+ def outFilePath = """/tmp"""
// exec export
sql """
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]