• Yecheng Fu's avatar
    Ignore non-avaiable volumes in findMatchingVolume: update tests · 1e27a28d
    Yecheng Fu authored
    - Use VolumeAvaiable instead of empty or pending phase in tests
    - Add a test case to verify findMatchingVolume will not choose
      non-avaiable PVs if it's not pre-bind
    - Add a test case to verify syncClaim will not choose non-avaibalbe PVs
      if it's not pre-bind
    1e27a28d
provision_test.go 19.1 KB