Merge branch 'develop' into coretk-config
This commit is contained in:
commit
bdf13ca037
2 changed files with 11 additions and 1 deletions
10
.github/workflows/daemon-checks.yml
vendored
10
.github/workflows/daemon-checks.yml
vendored
|
@ -17,6 +17,8 @@ jobs:
|
||||||
pip install pipenv
|
pip install pipenv
|
||||||
cd daemon
|
cd daemon
|
||||||
cp setup.py.in setup.py
|
cp setup.py.in setup.py
|
||||||
|
cp core/constants.py.in core/constants.py
|
||||||
|
sed -i 's/True/False/g' core/constants.py
|
||||||
pipenv install --dev
|
pipenv install --dev
|
||||||
- name: isort
|
- name: isort
|
||||||
run: |
|
run: |
|
||||||
|
@ -30,3 +32,11 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
cd daemon
|
cd daemon
|
||||||
pipenv run flake8
|
pipenv run flake8
|
||||||
|
- name: grpc
|
||||||
|
run: |
|
||||||
|
cd daemon/proto
|
||||||
|
pipenv run python -m grpc_tools.protoc -I . --python_out=.. --grpc_python_out=.. core/api/grpc/core.proto
|
||||||
|
- name: test
|
||||||
|
run: |
|
||||||
|
cd daemon
|
||||||
|
pipenv run test --mock
|
||||||
|
|
|
@ -123,7 +123,7 @@ class CoreHandler(socketserver.BaseRequestHandler):
|
||||||
for thread in self.handler_threads:
|
for thread in self.handler_threads:
|
||||||
logging.info("waiting for thread: %s", thread.getName())
|
logging.info("waiting for thread: %s", thread.getName())
|
||||||
thread.join(timeout)
|
thread.join(timeout)
|
||||||
if thread.isAlive():
|
if thread.is_alive():
|
||||||
logging.warning(
|
logging.warning(
|
||||||
"joining %s failed: still alive after %s sec",
|
"joining %s failed: still alive after %s sec",
|
||||||
thread.getName(),
|
thread.getName(),
|
||||||
|
|
Loading…
Add table
Reference in a new issue