Skip to content

Commit 401aad0

Browse files
committed
Build uwsgi in a single thread for testenv's
- uwsgi build system has race conditions Related-Prod: PRODX-58214 Change-Id: I33eb2612225804faa1e0deffbe8f502cd08dcd93
1 parent 9923a44 commit 401aad0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ RUN set -ex; \
5555
if [[ "${TEST_IMAGE}" == "True" ]]; then \
5656
OPENSTACK_CONTROLLER_EXTRAS="[test]"; \
5757
fi; \
58-
5958
pip wheel --wheel-dir /opt/wheels --find-links /opt/wheels /opt/operator${OPENSTACK_CONTROLLER_EXTRAS}
6059

6160
RUN wget -q -O /usr/local/bin/helm3 ${HELM_BINARY}; \

tox.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ allowlist_externals =
1919
deps =
2020
.[test]
2121
setenv =
22+
# uwsgi build has race conditions when building in parallel
23+
CPUCOUNT=1
2224
# TODO(vsaienko): figure out why not working with default
2325
SETUPTOOLS_ENABLE_FEATURES="legacy-editable"
2426
NODE_IP="127.0.0.1"

0 commit comments

Comments
 (0)