question: @ Ignore @ Test public void testThrowAwayUneededBucket ( ) { Host host = Host . getHost ( 0 ) ; VM vm0 = host . getVM ( 0 ) ; VM vm1 = host . getVM ( 1 ) ; VM vm2 = host . getVM ( 2 ) ; createPR ( vm0 , 1 ) ; createPR ( vm1 , 1 ) ; createData ( vm0 , 0 , NUM_BUCKETS , "a" ) ; Set < Integer > vm0Buckets = getBucketList ( vm0 ) ; Set < Integer > vm1Buckets = getBucketList ( vm1 ) ; assertEquals ( vm0Buckets , vm1Buckets ) ; assertEquals ( NUM_BUCKETS , vm0Buckets . size ( ) ) ; closeCache ( vm1 ) ; createPR ( vm2 , 1 ) ; checkData ( vm0 , 0 , NUM_BUCKETS , "a" ) ; vm0Buckets = getBucketList ( vm0 ) ; Set < Integer > vm2Buckets = getBucketList ( vm2 ) ; assertEquals ( vm0Buckets , vm2Buckets ) ; assertEquals ( NUM_BUCKETS , vm0Buckets . size ( ) ) ; createPR ( vm1 , 1 ) ; assertEquals ( Collections . emptySet ( ) , getBucketList ( vm1 ) ) ; closeCache ( vm0 ) ; closeCache ( vm1 ) ; closeCache ( vm2 ) ; createPR ( vm0 , 1 ) ; createPR ( vm1 , 1 ) ; createPR ( vm2 , 1 ) ; assertEquals ( vm0Buckets , getBucketList ( vm0 ) ) ; assertEquals ( Collections . emptySet ( ) , getBucketList ( vm1 ) ) ; assertEquals ( vm2Buckets , getBucketList ( vm2 ) ) ; checkData ( vm0 , 0 , NUM_BUCKETS , "a" ) ; }
target:  Test that we throw away a bucket if we restored redundancy while that bucket was offline.