Netflix-Skunkworks / service-capacity-modeling

Apache License 2.0
67 stars 19 forks source link

Add unit test of multiple options being returned #5

Closed jolynch closed 3 years ago

jolynch commented 3 years ago

We've seen behavior in the past where the capacity planner does not always return multiple options, and for uncertain planning that happens because we are getting the options from the top N least regret options from the candidates (as opposed to all the specific plans).

This change just writes a test to show this behavior, but if we want to fix that behavior in the future we can change this test to reflect that we get the number of candidates regardless of simulation count.