Skip to content

Commit

Permalink
Skip update capabilities live test (Azure#26759)
Browse files Browse the repository at this point in the history
This prevents the update capabilities test from running in the live test pipeline, which caused an issue with parallel test execution updating the same phone number.
  • Loading branch information
danielortega-msft authored Feb 8, 2022
1 parent c60f833 commit b4baa9d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ public void CreateSearch()
[AsyncOnly]
public async Task UpdateCapabilitiesAsync()
{
if (TestEnvironment.ShouldIgnorePhoneNumbersTests) {
if (TestEnvironment.ShouldIgnorePhoneNumbersTests || SkipPhoneNumberLiveTests) {
Assert.Ignore("Skip phone number live tests flag is on.");
}
var number = GetTestPhoneNumber();
Expand Down Expand Up @@ -278,7 +278,7 @@ public async Task GetPurchasedPhoneNumbersNextPage()
[SyncOnly]
public void UpdateCapabilities()
{
if (TestEnvironment.ShouldIgnorePhoneNumbersTests) {
if (TestEnvironment.ShouldIgnorePhoneNumbersTests || SkipPhoneNumberLiveTests) {
Assert.Ignore("Skip phone number live tests flag is on.");
}
var number = GetTestPhoneNumber();
Expand Down

0 comments on commit b4baa9d

Please sign in to comment.