mirror of https://github.com/grpc/grpc.git
[EventEngine] Reduce the size of some thread pool tests (#33055)
The `CanStartLotsOfClosures` test was sometimes taking over 60s to run
([example](https://source.cloud.google.com/results/invocations/d96c89f9-03f9-43fd-a729-d744d7499532/targets;query=thread_pool_test/%2F%2Ftest%2Fcore%2Fevent_engine:thread_pool_test@poller%3Depoll1/log)).
More often than not, though, the test would take < 5s
([example](https://source.cloud.google.com/results/invocations/95d32b32-5df7-4dd4-a82c-1024869b09c8/targets;query=thread_pool_test/%2F%2Ftest%2Fcore%2Fevent_engine:thread_pool_test/log)).
Both examples are from before the tests changed with the introduction of
the work-stealing thread pool
(3fb738b9b1
).
This PR reduces the closure count to 500k for the
`CanStartLotsOfClosures` test, and changes the blocking-closure
scale-test to exercise the work stealing implementation alone.
pull/33064/head
parent
17315823c2
commit
63ec566f3e
2 changed files with 16 additions and 5 deletions
Loading…
Reference in new issue