• Tim Gross's avatar
    scheduler/csi: fix early return when multiple volumes are requested · b66a3415
    Tim Gross authored
    When multiple CSI volumes are requested, the feasibility check could return
    early for read/write volumes with free claims, even if a later volume in the
    request was not feasible for any other reason (including not existing at
    all). This can result in random failure to fail feasibility checking,
    depending on how the map of volumes was being ordered at runtime.
    
    Remove the early return from the feasibility check. Add a test to verify that
    missing volumes in the map will cause a failure; this test will not catch a
    regression every test run because of the random map ordering, but any failure
    will be caught over the course of several CI runs.
    b66a3415
To find the state of this project's repository at the time of any of these versions, check out the tags.