Skip to content

Commit

Permalink
CI: test greenlet on OmniOS v11 (diagnosing..)
Browse files Browse the repository at this point in the history
Who told libev to act like __linux?
  • Loading branch information
pajod committed Sep 5, 2024
1 parent 7ebb12d commit 81b60b5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/foreign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,11 @@ jobs:
- uses: actions/checkout@v4
- uses: vmactions/omnios-vm@v1
with:
# need inotify not installed so libev does not assume __linux
# need gcc installed to compile greenlet from source
prepare: pkg install pip-311 python-311 sqlite-3 nginx gcc13
prepare: |
pkg uninstall --ignore-missing inotify \
&& pkg install pip-311 python-311 sqlite-3 nginx gcc13
usesh: true
copyback: false
run: |
Expand All @@ -76,6 +79,7 @@ jobs:
&& python3 --version \
&& openssl version \
&& pkg info nginx \
&& gcc -dM -E - </dev/null \
&& python3 -m pip install tox \
&& python3 -m tox --version \
&& python3 -m tox -e run-module \
Expand Down
2 changes: 1 addition & 1 deletion tests/test_wrk.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ def test_wrk(*, ssl, worker_class, dummy_ssl_cert, read_size=1024):
server.read_stdio(
key=STDERR,
wait_for_keyword="[INFO] Starting gunicorn",
timeout_sec=4,
timeout_sec=6,
expect={
"[INFO] Booting worker",
},
Expand Down

0 comments on commit 81b60b5

Please sign in to comment.