Featured image of post Fix gRPC "Waiting for thread pool to idle" in PHPUnit

Fix gRPC "Waiting for thread pool to idle" in PHPUnit

PHPUnit prints "Waiting for thread pool to idle before forking" when the gRPC extension is too new. Downgrade grpc to 1.49.0 to eliminate the warning.

When running PHPUnit tests, the message Waiting for thread pool to idle before forking keeps appearing. This is caused by the gRPC extension waiting for the thread pool to become idle before forking.

Downgrade the grpc Extension

Downgrading grpc to 1.49.0 eliminates this message:

1
pecl install -o -f grpc-1.49.0