You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by ga...@apache.org on 2022/10/09 11:09:52 UTC
[doris] branch master updated: [Regression](outfile) Fix concurrency test failure caused by outfile (#13209)
This is an automated email from the ASF dual-hosted git repository.
gabriellee 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 f2159709a8 [Regression](outfile) Fix concurrency test failure caused by outfile (#13209)
f2159709a8 is described below
commit f2159709a81d5e2ecf31a81369c8fa84955f9369
Author: Gabriel <ga...@gmail.com>
AuthorDate: Sun Oct 9 19:09:44 2022 +0800
[Regression](outfile) Fix concurrency test failure caused by outfile (#13209)
---
regression-test/suites/export_p0/test_outfile.groovy | 2 +-
regression-test/suites/export_p0/test_outfile_expr.groovy | 4 ++--
regression-test/suites/export_p0/test_outfile_parquet.groovy | 2 +-
regression-test/suites/export_p0/test_outfile_separator.groovy | 6 +++---
4 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/regression-test/suites/export_p0/test_outfile.groovy b/regression-test/suites/export_p0/test_outfile.groovy
index 91ab0ef0a9..0dfd86d036 100644
--- a/regression-test/suites/export_p0/test_outfile.groovy
+++ b/regression-test/suites/export_p0/test_outfile.groovy
@@ -49,7 +49,7 @@ suite("test_outfile") {
return
}
def tableName = "outfile_test"
- def outFilePath = """${context.file.parent}/tmp"""
+ def outFilePath = """${context.file.parent}/test_outfile"""
try {
sql """ DROP TABLE IF EXISTS ${tableName} """
sql """
diff --git a/regression-test/suites/export_p0/test_outfile_expr.groovy b/regression-test/suites/export_p0/test_outfile_expr.groovy
index a549e56bde..0e3f5adbb9 100644
--- a/regression-test/suites/export_p0/test_outfile_expr.groovy
+++ b/regression-test/suites/export_p0/test_outfile_expr.groovy
@@ -21,7 +21,7 @@ import java.nio.charset.StandardCharsets
import java.nio.file.Files
import java.nio.file.Paths
-suite("test_outfile") {
+suite("test_outfile_expr") {
StringBuilder strBuilder = new StringBuilder()
strBuilder.append("curl --location-trusted -u " + context.config.jdbcUser + ":" + context.config.jdbcPassword)
strBuilder.append(" http://" + context.config.feHttpAddress + "/rest/v1/config/fe")
@@ -45,7 +45,7 @@ suite("test_outfile") {
}
}
if (!enableOutfileToLocal) {
- logger.warn("Please set enable_outfile_to_local to true to run test_outfile")
+ logger.warn("Please set enable_outfile_to_local to true to run test_outfile_expr")
return
}
def tableName = "outfile_test_expr"
diff --git a/regression-test/suites/export_p0/test_outfile_parquet.groovy b/regression-test/suites/export_p0/test_outfile_parquet.groovy
index 2804b1e0e5..ac710410e9 100644
--- a/regression-test/suites/export_p0/test_outfile_parquet.groovy
+++ b/regression-test/suites/export_p0/test_outfile_parquet.groovy
@@ -53,7 +53,7 @@ suite("test_outfile_parquet") {
}
def tableName = "outfile_parquet_test"
def tableName2 = "outfile_parquet_test2"
- def outFilePath = """${context.file.parent}/tmp"""
+ def outFilePath = """${context.file.parent}/test_outfile_parquet"""
try {
sql """ DROP TABLE IF EXISTS ${tableName} """
sql """
diff --git a/regression-test/suites/export_p0/test_outfile_separator.groovy b/regression-test/suites/export_p0/test_outfile_separator.groovy
index 009508c8ca..07766db680 100644
--- a/regression-test/suites/export_p0/test_outfile_separator.groovy
+++ b/regression-test/suites/export_p0/test_outfile_separator.groovy
@@ -21,7 +21,7 @@ import java.nio.charset.StandardCharsets
import java.nio.file.Files
import java.nio.file.Paths
-suite("test_outfile") {
+suite("test_outfile_separator") {
StringBuilder strBuilder = new StringBuilder()
strBuilder.append("curl --location-trusted -u " + context.config.jdbcUser + ":" + context.config.jdbcPassword)
strBuilder.append(" http://" + context.config.feHttpAddress + "/rest/v1/config/fe")
@@ -45,12 +45,12 @@ suite("test_outfile") {
}
}
if (!enableOutfileToLocal) {
- logger.warn("Please set enable_outfile_to_local to true to run test_outfile")
+ logger.warn("Please set enable_outfile_to_local to true to run test_outfile_separator")
return
}
def dbName = context.config.getDbNameByFile(context.file)
def tableName = "outfile_test_separator"
- def outFilePath = """${context.file.parent}/tmp_separator"""
+ def outFilePath = """${context.file.parent}/test_outfile_separator"""
try {
sql """ DROP TABLE IF EXISTS ${tableName} """
sql """
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org