Skip to content
  • Klaus Aehlig's avatar
    In CanTieredAlloc test set IPolicy · 76d6ca61
    Klaus Aehlig authored
    
    
    Changing the test to allocate on nodes with a non-trivial
    instance policy has two advantages.
    
    - We test in a more realistic (and also more challenging)
      environment.
    
    - Once the lower limit of the ipolicy is reached no more
      allocations are possible, thus having fewer shrinking
      rounds---and hence speeding up the test by a factor of 4.
    
    Signed-off-by: default avatarKlaus Aehlig <aehlig@google.com>
    Reviewed-by: default avatarHrvoje Ribicic <riba@google.com>
    76d6ca61