Closed mhjort closed 1 year ago
This can be reproduced in repl with following call:
(weighted-scenarios (range 10) 10 [{:name "A" :weight 1} {:name "B" :weight 18} {:name "C" :weight 1}])
Which gives following error:
Execution error (IndexOutOfBoundsException) at clj-gatling.simulation-util/split-to-buckets (simulation_util.clj:61).
A rare corner case revealed by property based tests.