forked from bazelbuild/bazel
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set number of test on eviction to max possible value.
Before that change if we have more than 3 workers per mnemonic then on every eviction we process 3 worker until the iterator is exhausted and then starting again. On every `WorkerLifecycleManager` test we run `workerPool.evict()` twice, the first to collect idle workers and the second to really evict workers. So if we have 4 worker per worker key than in first iteration we will check first 3 workers and on second iteration check 1 last worker and don't evict anything. PiperOrigin-RevId: 540517544 Change-Id: I3198eed288e1f85ac57f9232e667d87cdf22bb90
- Loading branch information
1 parent
5dc1293
commit e016b4f
Showing
2 changed files
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters