diff --git a/.github/workflows/tpch.yml b/.github/workflows/tpch.yml index 7501546ab..d0f655dbb 100644 --- a/.github/workflows/tpch.yml +++ b/.github/workflows/tpch.yml @@ -22,7 +22,7 @@ on: jobs: ram-usage-test: - if: ${{ !contains(github.event.pull_request.labels.*.name, 'No RAM Report') }} + if: ${{ contains(github.event.pull_request.labels.*.name, 'RAM Report') }} runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 diff --git a/native-sql-engine/core/src/test/scala/com/intel/oap/tpc/ds/TPCDSSuite.scala b/native-sql-engine/core/src/test/scala/com/intel/oap/tpc/ds/TPCDSSuite.scala index e4ef15cfd..88c25a16f 100644 --- a/native-sql-engine/core/src/test/scala/com/intel/oap/tpc/ds/TPCDSSuite.scala +++ b/native-sql-engine/core/src/test/scala/com/intel/oap/tpc/ds/TPCDSSuite.scala @@ -34,6 +34,7 @@ class TPCDSSuite extends QueryTest with SharedSparkSession { override protected def sparkConf: SparkConf = { val conf = super.sparkConf conf.set("spark.memory.offHeap.size", String.valueOf(MAX_DIRECT_MEMORY)) + .set("spark.driver.bindAddress", "127.0.0.1") .set("spark.sql.extensions", "com.intel.oap.ColumnarPlugin") .set("spark.sql.codegen.wholeStage", "true") .set("spark.sql.sources.useV1SourceList", "") diff --git a/native-sql-engine/core/src/test/scala/com/intel/oap/tpc/h/TPCHSuite.scala b/native-sql-engine/core/src/test/scala/com/intel/oap/tpc/h/TPCHSuite.scala index a8fc06e86..bc634ed57 100644 --- a/native-sql-engine/core/src/test/scala/com/intel/oap/tpc/h/TPCHSuite.scala +++ b/native-sql-engine/core/src/test/scala/com/intel/oap/tpc/h/TPCHSuite.scala @@ -49,6 +49,7 @@ class TPCHSuite extends QueryTest with SharedSparkSession { override protected def sparkConf: SparkConf = { val conf = super.sparkConf conf.set("spark.memory.offHeap.size", String.valueOf(MAX_DIRECT_MEMORY)) + .set("spark.driver.bindAddress", "127.0.0.1") .set("spark.sql.extensions", "com.intel.oap.ColumnarPlugin") .set("spark.sql.codegen.wholeStage", "false") .set("spark.sql.sources.useV1SourceList", "")