Skip to content

Commit 904b58f

Browse files
authored
ci: adjust tpch1000 benchmark timeout (#19061)
1 parent 9ba088b commit 904b58f

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/reuse.benchmark.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -137,11 +137,11 @@ jobs:
137137
strategy:
138138
matrix:
139139
include:
140-
- { dataset: hits, size: Small, database: clickbench }
141-
- { dataset: hits, size: Large, database: clickbench }
142-
- { dataset: tpch, size: Small, database: clickbench }
143-
- { dataset: tpch, size: Large, database: clickbench }
144-
- { dataset: tpch1000, size: Large, database: tpch_1000 }
140+
- { dataset: hits, size: Small, database: clickbench, timeout: 10 }
141+
- { dataset: hits, size: Large, database: clickbench, timeout: 10 }
142+
- { dataset: tpch, size: Small, database: clickbench, timeout: 20 }
143+
- { dataset: tpch, size: Large, database: clickbench, timeout: 20 }
144+
- { dataset: tpch1000, size: Large, database: tpch_1000, timeout: 60 }
145145
fail-fast: true
146146
max-parallel: 1
147147
steps:

benchmark/clickbench/benchmark_cloud.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,9 @@ def run(
8787
# If not capturing output, print it to stdout/stderr
8888
if not capture_output:
8989
if result.stdout:
90-
print(result.stdout, end="", file=sys.stdout)
90+
print(result.stdout, end="", file=sys.stdout, flush=True)
9191
if result.stderr:
92-
print(result.stderr, end="", file=sys.stderr)
92+
print(result.stderr, end="", file=sys.stderr, flush=True)
9393
return result
9494
except subprocess.CalledProcessError as exc: # pragma: no cover - passthrough
9595
stdout = exc.stdout.strip() if exc.stdout else ""

0 commit comments

Comments
 (0)