From 7ee070a78f6a792e930cfd7b476b069fefbdc791 Mon Sep 17 00:00:00 2001 From: Stephen Sawchuk Date: Wed, 25 Nov 2015 20:19:39 -0500 Subject: [PATCH] storage: ignore errors while deleting buckets --- system-test/storage.js | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/system-test/storage.js b/system-test/storage.js index c8d486526f2..ca0adbbd1fd 100644 --- a/system-test/storage.js +++ b/system-test/storage.js @@ -78,12 +78,20 @@ describe('storage', function() { } setTimeout(function() { - bucket.delete(callback); + bucket.delete(function() { + // Ignoring this error: + // https://github.com/GoogleCloudPlatform/gcloud-node/issues/968 + // if (err) { + // callback(err); + // return; + // } + callback(); + }); }, CONSISTENCY_DELAY_MS); }); } - async.each(buckets, deleteBucket, done); + async.eachLimit(buckets, 10, deleteBucket, done); }); });