Skip to content

Commit

Permalink
Bug 1580666 - add missing await
Browse files Browse the repository at this point in the history
  • Loading branch information
djmitche committed Oct 2, 2019
1 parent f3c176d commit 168bb33
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion services/auth/test/containers_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,14 @@ helper.secrets.mockSuite(testing.suiteName(), ['azure', 'gcp'], function(mock, s

// zero out the container
const blobService = new azure.Blob(credentials);
blobService.deleteBlob(containerName, "Roles", {});
try {
await blobService.deleteBlob(containerName, "Roles", {});
} catch (err) {
if (err.code !== 'BlobNotFound') {
throw err;
}
// ignore BlobNotFound here, as that's the desired result
}
}
});

Expand Down

0 comments on commit 168bb33

Please sign in to comment.