Skip to content

Apache DataFusion SQL Query Engine

ARROW-9252: [Integration] Factor out IPC integration tests into script, add back 0.14.1 "gold" files

Wes McKinneyfdb9ece3593e
diff --git a/ci/scripts/integration_arrow.sh b/ci/scripts/integration_arrow.sh
new file mode 100755
index 0000000000..d50a57fb32
--- /dev/null
+++ b/ci/scripts/integration_arrow.sh
@@ -0,0 +1,29 @@
+#!/usr/bin/env bash
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+set -ex
+
+arrow_dir=${1}
+source_dir=${1}/cpp
+build_dir=${2}/cpp
+gold_dir_0_14_1=$arrow_dir/testing/data/arrow-ipc-stream/integration/0.14.1
+
+pip install -e $arrow_dir/dev/archery
+
+archery integration --with-all --run-flight --gold-dirs=$gold_dir_0_14_1
diff --git a/docker-compose.yml b/docker-compose.yml
index f124f28fb4..7795254591 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -1102,8 +1102,7 @@ services:
/arrow/ci/scripts/go_build.sh /arrow &&
/arrow/ci/scripts/java_build.sh /arrow /build &&
/arrow/ci/scripts/js_build.sh /arrow /build &&
- pip install -e /arrow/dev/archery &&
- archery integration --with-all --run-flight"]
+ /arrow/ci/scripts/integration_arrow.sh /arrow /build"]
################################ Docs #######################################
diff --git a/testing b/testing
index bff46cad1a..bb555cd8df 160000
--- a/testing
+++ b/testing
@@ -1 +1 @@
-Subproject commit bff46cad1a4b4df490f853a319e143a03b6ec233
+Subproject commit bb555cd8df1e49b40ad9d4cc053c6a61f3146e86