This is an automated email from the ASF dual-hosted git repository.

gavinchou pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-3.0 by this push:
     new b5103970887 branch-3.0: [regression-test](fix) opensky_p2 case #47122 
(#47124)
b5103970887 is described below

commit b5103970887618e2cca2b388effb26d88de9c304
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Sat Jan 18 16:20:37 2025 +0800

    branch-3.0: [regression-test](fix) opensky_p2 case #47122 (#47124)
    
    Cherry-picked from #47122
    
    Co-authored-by: shuke <sh...@selectdb.com>
---
 regression-test/suites/opensky_p2/load.groovy | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/regression-test/suites/opensky_p2/load.groovy 
b/regression-test/suites/opensky_p2/load.groovy
index d5f675dbeb9..d00be91d3fd 100644
--- a/regression-test/suites/opensky_p2/load.groovy
+++ b/regression-test/suites/opensky_p2/load.groovy
@@ -24,9 +24,7 @@ suite("load"){
 
     sql """ DROP TABLE IF EXISTS $tableName """
 
-    def scriptDir = new 
File(getClass().protectionDomain.codeSource.location.path).parent
-
-    sql new File("""${scriptDir}/ddl/${tableName}.sql""").text
+    sql new File("""${context.file.parent}/ddl/${tableName}.sql""").text
 
     for (String sourceFile in sourceFiles) {
         streamLoad {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to