From 9060ce4dacd08b8e1a119349fb193e05b9acc263 Mon Sep 17 00:00:00 2001 From: Daniel Scott-Raynsford Date: Fri, 18 Oct 2024 20:09:29 +1300 Subject: [PATCH] Update CHANGELOG and enhance Cosmos DB integration test teardown --- CHANGELOG.md | 3 +++ tests/Integration/CosmosDB.integration.Tests.ps1 | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a9d8ae3..9fb6668 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 to quota limitations. - Removed MacOS-11 testing from build pipeline because it is no longer supported by Microsoft managed Azure DevOps images. +- Changed integration tests to display the removal of the Cosmos DB account + in the teardown phase to ensure the account is removed after the tests are + completed. ## [5.0.0] - 2024-06-07 diff --git a/tests/Integration/CosmosDB.integration.Tests.ps1 b/tests/Integration/CosmosDB.integration.Tests.ps1 index c5abb5b..dfb8d00 100644 --- a/tests/Integration/CosmosDB.integration.Tests.ps1 +++ b/tests/Integration/CosmosDB.integration.Tests.ps1 @@ -1710,4 +1710,5 @@ Describe 'Cosmos DB Module' -Tag 'Integration' { # Remove test Resource Group Remove-AzureTestCosmosDbResourceGroup ` - -ResourceGroupName $script:testResourceGroupName + -ResourceGroupName $script:testResourceGroupName ` + -Verbose