Skip to content

Commit

Permalink
Revert "Fix process shutdown core test (#5529)"
Browse files Browse the repository at this point in the history
This reverts commit 8aa5984.
  • Loading branch information
matyhtf authored Oct 21, 2024
1 parent 8aa5984 commit 2dcffec
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion core-tests/src/os/process_pool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ TEST(process_pool, shutdown) {
pool.set_protocol(SW_PROTOCOL_TASK);
pool.ptr = shm_value;
pool.onWorkerStart = [](ProcessPool *pool, Worker *worker) {
SwooleWG.worker->set_max_request(100, 1000);
int *shm_value = (int *) pool->ptr;
*shm_value = magic_number;
usleep(1);
Expand Down

0 comments on commit 2dcffec

Please sign in to comment.