Use waitUntilBucketNotExists instead. waitForBucketNotExists does not throw error in non-success cases.
Deprecated
Use waitUntilBucketNotExists instead. waitForBucketNotExists does not throw error in non-success cases.