Skip to content

Commit df7d083

Browse files
philip-stoevruchirK
authored andcommitted
sqllogictest: Fix the Nightly SLT test
make a dedicated workflow in test/sqllogictest/mzcompose.yml the way one existed for the sql-fast test
1 parent b540cbe commit df7d083

File tree

3 files changed

+13
-15
lines changed

3 files changed

+13
-15
lines changed

ci/slt/pipeline.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
# by the Apache License, Version 2.0.
99

1010
steps:
11-
- command: ci/slt/slt.sh
11+
- id: sqllogictest
12+
label: ":bulb: SQL logic tests"
1213
timeout_in_minutes: 300
1314
artifact_paths: target/slt-summary.json
1415
plugins:

ci/slt/slt.sh

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,6 @@
1313

1414
set -euo pipefail
1515

16-
. misc/shlib/shlib.bash
17-
18-
if [[ ! "${BUILDKITE-}" ]]; then
19-
sqllogictest() {
20-
cargo run --release --bin sqllogictest -- "$@"
21-
}
22-
fi
23-
24-
if [[ "${BUILDKITE-}" ]]; then
25-
await_postgres -h postgres -p 5432
26-
fi
27-
2816
export RUST_BACKTRACE=full
2917

3018
mkdir -p target

test/sqllogictest/mzcompose.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,17 @@ mzworkflows:
1818
dbname: postgres
1919
- step: run
2020
service: sqllogictest-svc
21+
entrypoint: ci/test/slt-fast.sh
22+
23+
sqllogictest:
24+
steps:
25+
- step: start-services
26+
services: [postgres]
27+
- step: wait-for-postgres
28+
dbname: postgres
29+
- step: run
30+
service: sqllogictest-svc
31+
entrypoint: ci/slt/slt.sh
2132

2233
services:
2334
sqllogictest-svc:
@@ -31,8 +42,6 @@ services:
3142
- PGHOST=postgres
3243
- PGPASSWORD=postgres
3344
depends_on: [postgres]
34-
entrypoint:
35-
- ci/test/slt-fast.sh
3645
postgres:
3746
image: postgres:11.4
3847
ports:

0 commit comments

Comments
 (0)