LoggerState: test cases (#21855)

* test multiple threads writing to log

* fix typo

* use util::getenv

* check INIT_DATA and SENTINEL

* test END_OF_SEGMENT

* add comment

* test multiple threads logging and rotation

* cleanup

* update

* LoggerHandle:quick fix

* cleanup

* revert test_loggerd.py

* refactor test case

* check lock file

* check refcnt after close

* test_runner.cc

d

* int eixt_signal
old-commit-hash: 935cbd3139
This commit is contained in:
Dean Lee
2021-08-31 08:12:09 +08:00
committed by GitHub
parent 467348f803
commit 0fac38e34f
7 changed files with 198 additions and 9 deletions

View File

@@ -214,6 +214,7 @@ jobs:
$UNIT_TEST selfdrive/thermald && \
$UNIT_TEST tools/lib/tests && \
./selfdrive/common/tests/test_util && \
./selfdrive/loggerd/tests/test_logger &&\
./selfdrive/proclogd/tests/test_proclog && \
./selfdrive/camerad/test/ae_gray_test"
- name: Upload coverage to Codecov