Improve speed of CoroutineExecutorService within StateFragmentLocalTest #1765
Labels
enhancement
End user-perceivable enhancements.
Impact: Low
Low perceived user impact (e.g. edge cases).
Work: Medium
The means to find the solution is clear, but it isn't at good-first-issue level yet.
Z-ibt
Temporary label for Ben to keep track of issues he's triaged.
#1764 introduced a CoroutineExecutorService to stabilize tests in #1630. Unfortunately, something about the final implementation of the executor service is particularly inefficient, resulting in tests that previously took 1-2 seconds now taking 11-20 seconds. See: #1630 (comment). While the total test suite time is well below the limit where it would cause issues in CI, this is generally a bad state to be in. Someone will need to dig into why the executor service isn't running optimally, and find ways to optimize it (note that the original implementation didn't have this issue, but it wasn't checked in due to having many other problems that were discovered & fixed as part of writing the initial test suite for the service).
The text was updated successfully, but these errors were encountered: