This is an automated email from the ASF dual-hosted git repository.
djwang pushed a commit to branch merge-with-upstream
in repository https://gitbox.apache.org/repos/asf/cloudberry-pxf.git
The following commit(s) were added to refs/heads/merge-with-upstream by this
push:
new 5ec34922 Fix: gpdb test add pxf env and fix cloudtest null point
5ec34922 is described below
commit 5ec3492218c70ad615f190df35b4d86ba4997b88
Author: liuxiaoyu <[email protected]>
AuthorDate: Thu Jan 15 11:53:07 2026 +0800
Fix: gpdb test add pxf env and fix cloudtest null point
---
.../automation/features/cloud/CloudAccessTest.java | 6 +++---
.../docker/pxf-cbdb-dev/ubuntu/script/run_tests.sh | 21 +++++++++++++++++++++
2 files changed, 24 insertions(+), 3 deletions(-)
diff --git
a/automation/src/test/java/org/greenplum/pxf/automation/features/cloud/CloudAccessTest.java
b/automation/src/test/java/org/greenplum/pxf/automation/features/cloud/CloudAccessTest.java
index b4074b54..2f4387a9 100644
---
a/automation/src/test/java/org/greenplum/pxf/automation/features/cloud/CloudAccessTest.java
+++
b/automation/src/test/java/org/greenplum/pxf/automation/features/cloud/CloudAccessTest.java
@@ -45,9 +45,6 @@ public class CloudAccessTest extends BaseFeature {
*/
@Override
public void beforeClass() throws Exception {
- if (ProtocolUtils.getProtocol() == ProtocolEnum.HDFS) {
- return;
- }
// Initialize server objects
String random = UUID.randomUUID().toString();
s3PathRead =
String.format("gpdb-ud-scratch/tmp/pxf_automation_data_read/%s/" , random);
@@ -64,6 +61,9 @@ public class CloudAccessTest extends BaseFeature {
@Override
protected void beforeMethod() throws Exception {
+ if (ProtocolUtils.getProtocol() == ProtocolEnum.HDFS) {
+ return;
+ }
super.beforeMethod();
prepareData();
}
diff --git a/concourse/docker/pxf-cbdb-dev/ubuntu/script/run_tests.sh
b/concourse/docker/pxf-cbdb-dev/ubuntu/script/run_tests.sh
index 6f7d48f1..d57b69c5 100755
--- a/concourse/docker/pxf-cbdb-dev/ubuntu/script/run_tests.sh
+++ b/concourse/docker/pxf-cbdb-dev/ubuntu/script/run_tests.sh
@@ -549,6 +549,27 @@ feature_test(){
}
gpdb_test() {
+ export PROTOCOL=HDFS
+ export PXF_HOME=${PXF_HOME:-/usr/local/pxf}
+ export PATH="${PXF_HOME}/bin:${PATH}"
+ ensure_gpupgrade_helpers
+ ensure_testplugin_jar
+
+ # Make sure core services are alive before preparing configs
+ health_check_with_retry || true
+
+ export PGHOST=127.0.0.1
+ export PATH="${GPHOME}/bin:${PATH}"
+ ensure_testuser_pg_hba
+ # Clean stale state from previous runs so gpdb suite starts fresh
+ cleanup_hdfs_test_data
+ hdfs dfs -rm -r -f /tmp/pxf_automation_data >/dev/null 2>&1 || true
+ cleanup_hive_state
+ cleanup_hbase_state
+
+ # Ensure PXF points to local HDFS/Hive/HBase configs
+ configure_pxf_default_hdfs_server
+
echo "[run_tests] Starting GROUP=gpdb"
make GROUP="gpdb" || true
save_test_reports "gpdb"
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]