Skip to content

Commit 2458693

Browse files
authored
Minor: fix CI to make the sqllogic testing result consistent (#15059)
1 parent 17e8fa7 commit 2458693

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/rust.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ jobs:
295295
export RUST_MIN_STACK=20971520
296296
export TPCH_DATA=`realpath datafusion/sqllogictest/test_files/tpch/data`
297297
cargo test plan_q --package datafusion-benchmarks --profile ci --features=ci -- --test-threads=1
298-
INCLUDE_TPCH=true cargo test --profile ci --package datafusion-sqllogictest --test sqllogictests
298+
INCLUDE_TPCH=true cargo test --features backtrace --profile ci --package datafusion-sqllogictest --test sqllogictests
299299
- name: Verify Working Directory Clean
300300
run: git diff --exit-code
301301

@@ -331,7 +331,7 @@ jobs:
331331
- name: Run sqllogictest
332332
run: |
333333
cd datafusion/sqllogictest
334-
PG_COMPAT=true PG_URI="postgresql://postgres:postgres@$POSTGRES_HOST:$POSTGRES_PORT/db_test" cargo test --profile ci --features=postgres --test sqllogictests
334+
PG_COMPAT=true PG_URI="postgresql://postgres:postgres@$POSTGRES_HOST:$POSTGRES_PORT/db_test" cargo test --features backtrace --profile ci --features=postgres --test sqllogictests
335335
env:
336336
# use postgres for the host here because we have specified a container for the job
337337
POSTGRES_HOST: postgres

datafusion/sqllogictest/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ tokio-postgres = { version = "0.7.12", optional = true }
6666

6767
[features]
6868
avro = ["datafusion/avro"]
69+
backtrace = ["datafusion/backtrace"]
6970
postgres = [
7071
"bytes",
7172
"chrono",

0 commit comments

Comments
 (0)