Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
p2p-governor: Improve the mock env pick script interpretation
Previously we said that if the governor gives the environment a set to pick from and a number it'd like us to pick, that if the number it'd like us to pick was as big as the set then we'd automatically pick the whole set. This might be a sensible policy, but we're not trying to test sensible policies here. We're trying to test the governor does the right thing in all circumstances. It is legitimate to pick fewer than requested. So we remove this special case and just use the general case of the usual script interpretation.
- Loading branch information