Azure / Azure/azure-powershell

[Eng]: Test reports failed even test code is not merged into current branch.

Open
#17,538 0 comments 0 reactions 0 assignees View on GitHub
Engineering
Dominant language
C#
Stars
4.8k
Forks
4.3k
Avg merge
2d 17h
Merged PRs (30d)
51

Description

### Description

- Branch codegen/ManagedServiceIdentity was created from branch main.
- After that, DistributedAvailabilityGroupTests.TestManagedInstanceLink [FAIL] is new added test in main branch.
- CI merging branch codegen/ManagedServiceIdentity into main branch reports TestManagedInstanceLink failed as follow:

```
[xUnit.net 00:03:13.93] Microsoft.Azure.Commands.Sql.Test.ScenarioTests.DistributedAvailabilityGroupTests.TestManagedInstanceLinkPiping [FAIL]
[xUnit.net 00:03:14.86] Microsoft.Azure.Commands.Sql.Test.ScenarioTests.DistributedAvailabilityGroupTests.TestManagedInstanceLink [FAIL]
X Microsoft.Azure.Commands.Sql.Test.ScenarioTests.DistributedAvailabilityGroupTests.TestManagedInstanceLinkPiping [960ms]
EXEC : error Message: [D:\a\1\s\build.proj]
System.Management.Automation.CommandNotFoundException : The term 'New-AzSqlInstanceLink' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
```

https://dev.azure.com/azure-sdk/public/_build/results?buildId=1446599&view=logs&jobId=b17395f6-68a3-5682-0476-d3f6f1043109&j=b17395f6-68a3-5682-0476-d3f6f1043109&t=67f633ab-4360-5839-af42-f446e0c847f0

This behavior may block release/preview branch.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.