This is an automated email from the ASF dual-hosted git repository.
lidavidm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-adbc.git
The following commit(s) were added to refs/heads/main by this push:
new 6bf4b52 chore(dev/release): disable Flight SQL C++ tests in
verification (#438)
6bf4b52 is described below
commit 6bf4b52b6371ae0e1f18117afb587929ab0d6c1a
Author: David Li <[email protected]>
AuthorDate: Wed Feb 8 10:37:57 2023 -0500
chore(dev/release): disable Flight SQL C++ tests in verification (#438)
Fixes #434.
---
dev/release/verify-release-candidate.ps1 | 2 ++
dev/release/verify-release-candidate.sh | 3 +++
2 files changed, 5 insertions(+)
diff --git a/dev/release/verify-release-candidate.ps1
b/dev/release/verify-release-candidate.ps1
index ef3a399..896a954 100755
--- a/dev/release/verify-release-candidate.ps1
+++ b/dev/release/verify-release-candidate.ps1
@@ -116,9 +116,11 @@ New-Item -ItemType Directory -Force -Path $CppBuildDir |
Out-Null
& $(Join-Path $ArrowSourceDir ci\scripts\cpp_build.ps1) $ArrowSourceDir
$CppBuildDir
if (-not $?) { exit 1 }
+$env:BUILD_DRIVER_FLIGHTSQL = "0"
$env:BUILD_DRIVER_POSTGRESQL = "0"
& $(Join-Path $ArrowSourceDir ci\scripts\cpp_test.ps1) $ArrowSourceDir
$CppBuildDir
if (-not $?) { exit 1 }
+$env:BUILD_DRIVER_FLIGHTSQL = "1"
$env:BUILD_DRIVER_POSTGRESQL = "1"
Show-Header "Verify Python Sources"
diff --git a/dev/release/verify-release-candidate.sh
b/dev/release/verify-release-candidate.sh
index 2859df4..4626b36 100755
--- a/dev/release/verify-release-candidate.sh
+++ b/dev/release/verify-release-candidate.sh
@@ -426,9 +426,12 @@ test_cpp() {
export ADBC_USE_ASAN=OFF
export ADBC_USE_UBSAN=OFF
"${ADBC_SOURCE_DIR}/ci/scripts/cpp_build.sh" "${ADBC_SOURCE_DIR}"
"${ARROW_TMPDIR}/cpp-build" "${install_prefix}"
+ # FlightSQL driver requires running database for testing
+ export BUILD_DRIVER_FLIGHTSQL=0
# PostgreSQL driver requires running database for testing
export BUILD_DRIVER_POSTGRESQL=0
"${ADBC_SOURCE_DIR}/ci/scripts/cpp_test.sh" "${ADBC_SOURCE_DIR}"
"${ARROW_TMPDIR}/cpp-build" "${install_prefix}"
+ export BUILD_DRIVER_FLIGHTSQL=1
export BUILD_DRIVER_POSTGRESQL=1
}