Skip to content

Commit aa8b719

Browse files
authored
ci(connectors): raise vm.max_map_count for Doris in coverage job (#3365)
1 parent 3bfc418 commit aa8b719

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/coverage-baseline.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,14 @@ jobs:
6060
with:
6161
tool: cargo-llvm-cov
6262

63+
# Doris 4.0.3's start_be.sh hard-`exit 1`s unless vm.max_map_count >= 2000000.
64+
# Host-only kernel param (no container can raise it). Mirrors the same step in
65+
# .github/actions/rust/pre-merge/action.yml; without it every Doris connector
66+
# integration test panics at fixture setup.
67+
- name: Raise vm.max_map_count for Doris
68+
run: sudo sysctl -w vm.max_map_count=2000000 || true
69+
shell: bash
70+
6371
- name: Build and test with coverage
6472
run: |
6573
source <(cargo llvm-cov show-env --export-prefix)

0 commit comments

Comments
 (0)