[fix](case) adjust case if running on muti BEs (#31160)

Co-authored-by: stephen <hello-stephen@qq.com>
This commit is contained in:
Dongyang Li
2024-02-20 22:00:32 +08:00
committed by yiguolei
parent e2514c950c
commit 27ae96c5d0

View File

@ -107,6 +107,11 @@ suite("test_decimal256_outfile_csv") {
def uuid = UUID.randomUUID().toString()
def outFilePath = """/tmp/test_decimal256_outfile_csv_${uuid}"""
List<List<Object>> backends = sql """ show backends """
assertTrue(backends.size() > 0)
if (backends.size() > 1) {
outFilePath = "/tmp"
}
try {
logger.info("outfile: " + outFilePath)
// check outfile