Skip to content

Commit

Permalink
fix 4 --filter=[core]
Browse files Browse the repository at this point in the history
  • Loading branch information
matyhtf committed Dec 23, 2024
1 parent 7b24eea commit 583ef1b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ jobs:
build:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '--filter=') || contains(github.event.head_commit.message, '[core]')"
timeout-minutes: 10
services:
tinyproxy:
image: "vimagick/tinyproxy"
Expand Down
3 changes: 2 additions & 1 deletion core-tests/src/os/process_pool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -188,14 +188,15 @@ TEST(process_pool, async) {
pool.onWorkerStart = [](ProcessPool *pool, Worker *worker) {
int *shm_value = (int *) pool->ptr;
*shm_value = magic_number;
usleep(1);
current_worker = worker;

sysv_signal(SIGTERM, [](int sig) {
int *shm_value = (int *) current_pool->ptr;
(*shm_value)++;
current_pool->stop(current_worker);
});

usleep(10);
};

pool.onMessage = [](ProcessPool *pool, RecvData *msg) {
Expand Down

0 comments on commit 583ef1b

Please sign in to comment.