diff --git a/services/auth/test/containers_test.js b/services/auth/test/containers_test.js index f49f05047a7..1bd3f5e05eb 100644 --- a/services/auth/test/containers_test.js +++ b/services/auth/test/containers_test.js @@ -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 + } } });