Skip to content

Commit c64ce6c

Browse files
yukun-dongY-Sindoazure-sdkMohit-Chakrabortyscbedd
authored
Fix mgmt storage tests (#25425)
* [SignalR] Add Strongly typed serverless hub (#25075) # All SDK Contribution checklist: This checklist is used to make sure that common guidelines for a pull request are followed. - [x] **Please open PR in `Draft` mode if it is:** - Work in progress or not intended to be merged. - Encountering multiple pipeline failures and working on fixes. - [ ] If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above. - [x] **I have read the [contribution guidelines](https://github.com/Azure/azure-sdk-for-net/blob/main/CONTRIBUTING.md).** - [x] **The pull request does not introduce [breaking changes](https://github.com/dotnet/corefx/blob/master/Documentation/coding-guidelines/breaking-change-rules.md).** ### [General Guidelines and Best Practices](https://github.com/Azure/azure-sdk-for-net/blob/main/CONTRIBUTING.md#general-guidelines) - [x] Title of the pull request is clear and informative. - [x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, [see this page](https://github.com/Azure/azure-powershell/blob/master/documentation/development-docs/cleaning-up-commits.md). ### [Testing Guidelines](https://github.com/Azure/azure-sdk-for-net/blob/main/CONTRIBUTING.md#testing-guidelines) - [x] Pull request includes test coverage for the included changes. * Increment version for operationalinsights releases (#25345) Increment package version after release of Microsoft.Azure.OperationalInsights * [ACR] Update SDK to c8d9a26a of REST spec (#24341) * Generate changes before any transforms * Regenerate code after adding transforms * Update internal interface and cleanup removed properties * Update public API * Update service version and test session records * Fix params for `ExchangeAadAccessTokenForAcrRefreshToken()` Set `GrantType` as `AccessToken`. `tenant` and `refreshToken` are null. * Update public API * Update session records * Update Changelog * Sync eng/common directory with azure-sdk-tools for PR 2290 (#25372) * update docker-start-proxy to have a slightly different default parameter * we were surrounding the value in single quotes, breaking recording load Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com> * [Event Hubs] Flaky Test Fix (#25346) The focus of these changes is to stabilize some tests with non-deterministic behavior that have recently shown to be flaky when run in CI pipelines. * [Azure.Core] Logging Sample Enhancement (#25389) # Summary The focus of these changes is to enhance the logging section of the diagnostics sample to include details about the lifetime of the `AzureEventSourceListener`. We received some customer feedback that it was unclear where they needed to create the listener and that it had to have the appropriate scope to be able to capture logs. * [LLC] Implement RequestOptions.AddPolicy (#25214) * add test for AddPolicy * share proposed refactoring to HttpPipelineExtensions * ideas in the direction of implementation * mark retry policy * revert mark retry policy * shifting API around * experiment with using MemoryPool * use ArrayPool * use ArrayPool * add tests * update API * throw if didn't use pipeline builder * pr feedback and merge follow-up * pr fb and merge follow-up * pr fb * simplify request pipeline creation * move AddPolicy tests to Core; pr fb * nit * pr fb * pr fb & fix build * pr fb * pr fb & build fix * pr fb * pr fb * pr fb & fix core ci * Update CODEOWNERS (#25393) * Microsoft.Azure.Management.Avs 3.0.0 (#25276) * use main branch * generated for 2021-12-01 API * switch AvsTests to test mock_api server * Updating recorded test files also tested with playback * generate from main * set to 3.0.0 * Updating test records for AVS/2021-12 * Updating new test records * Updated test records Co-authored-by: Pinak Kelkar <pinakkelkar@microsoft.com> * KeyVault Preview 2021 06 (#25282) * Generated new code from 06-preview version * Regenerated code to pick up additional changes. * Update unit tests for 2021-06-01-preview and SystemData * updated metadata * Updated package version to 4.0.0-preview.1 Co-authored-by: Soohwan Kim <sookim@microsoft.com> Co-authored-by: Jiacheng Liu <jiachengliu@microsoft.com> * Increment version for containerregistry releases (#25397) Increment package version after release of Azure.Containers.ContainerRegistry * Add storage mgmt test (#25395) * add tests from track1 * add and modify some tests add tests modify tests * ignore PITR test case * ignore PrivateEndpointConnection tests * Update changelog for AddPolicy (#25394) * [Event Hubs] Sample updates for the Buffered Producer (#25388) * [Event Hubs] Sample updates for the Buffered Producer The focus of these changes is to incorporate the `EventHubBufferedProducer` client into the Event Hubs samples for client types and publishing. Also included is a clarification for the logging sample, calling out the lifetime needs for the listener. * TURN: Adding RouteType optional parameter to GetRelayConfiguration (#25032) * Add Anycast parameter to GetRelayConfiguration * Update PR, removing unused snippet. * Modified swagger, so adding new autogenerated code * Update PR * Update PR, add new recordings, reenable non-identity tests * Adding GetRelayOptions and updating Readme and changelog * Update PR * Update PR * [MetricsAdvisor] Add tests for Skip and MaximumPageSize input options in AnomalyAlertConfigurationLiveTests and AnomalyDetectionConfigurationLiveTests (#24540) * Fix CanSetContentLengthOverMaxInt (#25404) * Update changelog removing unused sections (#25413) * [template-LLC] Rename LLC to Dataplane Code Gen (#25390) * Rename LLC to Dataplane Code Gen * [Event Hubs] Buffered Producer Tweaks and Test Fixes (#25415) The focus of these changes is to trim some unused logic for enqueuing events, add some missing mock setups to guard against a test race, and improve some minor test structure. * Fix Broken link in EventGrid ReadMe (#25417) * [MetricsAdvisor] Moving to new MA resource (#25406) * Add Bryce into CodeOwners for IoT SDK team (#25420) * fix test error; update snippets Co-authored-by: yzt <zityang@microsoft.com> Co-authored-by: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Co-authored-by: Mohit Chakraborty <8271806+Mohit-Chakraborty@users.noreply.github.com> Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com> Co-authored-by: Jesse Squire <jsquire@microsoft.com> Co-authored-by: Anne Thompson <annelo@microsoft.com> Co-authored-by: Kamil Sobol <61715331+kasobol-msft@users.noreply.github.com> Co-authored-by: Cameron Taggart <cameron.taggart@microsoft.com> Co-authored-by: Pinak Kelkar <pinakkelkar@microsoft.com> Co-authored-by: kim-soohwan <40476315+kim-soohwan@users.noreply.github.com> Co-authored-by: Soohwan Kim <sookim@microsoft.com> Co-authored-by: Jiacheng Liu <jiachengliu@microsoft.com> Co-authored-by: AriZavala2 <77034370+AriZavala2@users.noreply.github.com> Co-authored-by: Gyeonghun Park <gp112795@gmail.com> Co-authored-by: Pavel Krymets <pavel@krymets.com> Co-authored-by: ShivangiReja <45216704+ShivangiReja@users.noreply.github.com> Co-authored-by: Chidozie Ononiwu (His Righteousness) <31145988+chidozieononiwu@users.noreply.github.com> Co-authored-by: Caio Saldanha <camaiaor@microsoft.com> Co-authored-by: brycewang-microsoft <94650966+brycewang-microsoft@users.noreply.github.com>
1 parent d57bcae commit c64ce6c

File tree

620 files changed

+364005
-327285
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

620 files changed

+364005
-327285
lines changed

.github/CODEOWNERS

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@
327327
#/<NotInRepo>/ @madhurinms
328328

329329
# PRLabel: %Iot
330-
/sdk/iot/ @drwill-ms @timtay-microsoft @abhipsaMisra @azabbasi @jamdavi @andykwong-ms
330+
/sdk/iot/ @drwill-ms @timtay-microsoft @abhipsaMisra @azabbasi @jamdavi @andykwong-ms @brycewang-microsoft
331331

332332
# ServiceLabel: %IotCentral %Service Attention
333333
/sdk/iotcentral/Microsoft.Azure.Management.IotCentral/ @iluican @jlian
@@ -337,7 +337,7 @@
337337

338338
# PRLabel: %IotHub
339339
# ServiceLabel: %IotHub %Service Attention
340-
/sdk/iothub/ @drwill-ms @timtay-microsoft @abhipsaMisra @azabbasi @jamdavi @andykwong-ms
340+
/sdk/iothub/ @drwill-ms @timtay-microsoft @abhipsaMisra @azabbasi @jamdavi @andykwong-ms @brycewang-microsoft
341341

342342
# ServiceLabel: %IotHub %Service Attention
343343
/sdk/iothub/Microsoft.Azure.Management.IotHub/ @rkmanda @chieftn
@@ -584,10 +584,10 @@ sdk/trafficmanager/Microsoft.Azure.Management.TrafficManager/ @tmsupp
584584
/sdk/storage/ @tg-msft
585585

586586
# PRLabel: %Storage
587-
/sdk/storage/Azure.Storage.*/ @amishra-dev @seanmcc-msft @amnguye @kasobol-msft @tg-msft
587+
/sdk/storage/Azure.Storage.*/ @amishra-dev @seanmcc-msft @amnguye @tg-msft
588588

589589
# PRLabel: %Storage
590-
/sdk/storage/Microsoft.Azure.WebJobs.*/ @amishra-dev @seanmcc-msft @amnguye @kasobol-msft @tg-msft @fabiocav @mathewc
590+
/sdk/storage/Microsoft.Azure.WebJobs.*/ @amishra-dev @seanmcc-msft @amnguye @tg-msft @fabiocav @mathewc
591591

592592
# ServiceLabel: %Storage %Service Attention
593593
#/<NotInRepo>/ @xgithubtriage

eng/Packages.Data.props

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,9 @@
115115
<PackageReference Update="CloudNative.CloudEvents" Version="2.0.0" />
116116
<PackageReference Update="CloudNative.CloudEvents.SystemTextJson" Version="2.0.0" />
117117
<PackageReference Update="Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson" Version="3.0.0" Condition="'$(TargetFramework)' == 'netcoreapp3.1'" />
118-
<PackageReference Update="Microsoft.Azure.SignalR" Version="1.12.0" />
119-
<PackageReference Update="Microsoft.Azure.SignalR.Management" Version="1.12.0" />
120-
<PackageReference Update="Microsoft.Azure.SignalR.Protocols" Version="1.12.0" />
118+
<PackageReference Update="Microsoft.Azure.SignalR" Version="1.13.0" />
119+
<PackageReference Update="Microsoft.Azure.SignalR.Management" Version="1.13.0" />
120+
<PackageReference Update="Microsoft.Azure.SignalR.Protocols" Version="1.13.0" />
121121
<PackageReference Update="Microsoft.Azure.SignalR.Serverless.Protocols" Version="1.6.0" />
122122
<PackageReference Update="Microsoft.Azure.WebJobs" Version="3.0.30" />
123123
<PackageReference Update="Microsoft.Azure.WebJobs.Sources" Version="3.0.30" />

eng/common/testproxy/docker-start-proxy.ps1

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,26 @@
11
#!/usr/bin/env pwsh -c
22

33
<#
4+
.SYNOPSIS
5+
Easy start/stop of docker proxy.
6+
47
.DESCRIPTION
58
Start the docker proxy container. If it is already running, quietly exit. Any other error should fail.
9+
610
.PARAMETER Mode
7-
"start" or "stop" to start up or stop the test-proxy instance.
11+
Pass value "start" or "stop" to start up or stop the test-proxy instance.
12+
813
.PARAMETER TargetFolder
914
The folder in which context the test proxy will be started. Defaults to current working directory.
15+
1016
#>
1117
[CmdletBinding(SupportsShouldProcess = $true)]
1218
param(
1319
[ValidateSet("start", "stop")]
1420
[String]
1521
$Mode,
1622
[String]
17-
$TargetFolder = "."
23+
$TargetFolder = ""
1824
)
1925

2026
try {
@@ -29,6 +35,11 @@ $SELECTED_IMAGE_TAG = "1147815"
2935
$CONTAINER_NAME = "ambitious_azsdk_test_proxy"
3036
$LINUX_IMAGE_SOURCE = "azsdkengsys.azurecr.io/engsys/testproxy-lin:${SELECTED_IMAGE_TAG}"
3137
$WINDOWS_IMAGE_SOURCE = "azsdkengsys.azurecr.io/engsys/testproxy-win:${SELECTED_IMAGE_TAG}"
38+
39+
if (-not $TargetFolder){
40+
$TargetFolder = Join-Path -Path $PSScriptRoot -ChildPath "../../../"
41+
}
42+
3243
$root = (Resolve-Path $TargetFolder).Path.Replace("`\", "/")
3344

3445
function Get-Proxy-Container(){

eng/common/testproxy/test-proxy-tool.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ steps:
2121
2222
- pwsh: |
2323
Start-Process $(Build.BinariesDirectory)/test-proxy/test-proxy.exe `
24-
-ArgumentList "--storage-location '${{ parameters.rootFolder }}'" `
24+
-ArgumentList "--storage-location ${{ parameters.rootFolder }}" `
2525
-NoNewWindow -PassThru -RedirectStandardOutput $(Build.SourcesDirectory)/test-proxy.log
2626
displayName: 'Run the testproxy - windows'
2727
condition: and(succeeded(), eq(variables['Agent.OS'],'Windows_NT'))

eng/mgmt/mgmtmetadata/keyvault_resource-manager.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,13 @@ AutoRest installed successfully.
33
Commencing code generation
44
Generating CSharp code
55
Executing AutoRest command
6-
cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/keyvault/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --tag=package-preview-2020-04 --csharp.output-folder=C:\Users\yeliu\code\azure-sdk-for-net\sdk\keyvault\Microsoft.Azure.Management.KeyVault\src\Generated
7-
2020-11-16 02:58:30 UTC
6+
cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/main/specification/keyvault/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --tag=package-preview-2021-06 --csharp.output-folder=C:\repo\azure-sdk-for-net\sdk\keyvault\Microsoft.Azure.Management.KeyVault\src\Generated
7+
Autorest CSharp Version: 2.3.91
8+
2021-11-08 17:37:48 UTC
89
Azure-rest-api-specs repository information
910
GitHub fork: Azure
10-
Branch: master
11-
Commit: ee92c0739efe6acd5b947a3f7829a349800b2426
11+
Branch: main
12+
Commit: 27c89d071d6a3d6edc908d86655773e0aa9e59d0
1213
AutoRest information
1314
Requested version: v2
1415
Bootstrapper version: autorest@2.0.4413

eng/mgmt/mgmtmetadata/vmware_resource-manager.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ AutoRest installed successfully.
33
Commencing code generation
44
Generating CSharp code
55
Executing AutoRest command
6-
cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/AVS/dotnet/specification/vmware/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=C:\Users\cataggar\io\azure-sdk-for-net\sdk
6+
cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/main/specification/vmware/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=C:\Users\cataggar\io\azure-sdk-for-net\sdk
77
Autorest CSharp Version: 2.3.82
8-
2021-05-27 14:12:59 UTC
8+
2021-11-12 01:27:53 UTC
99
Azure-rest-api-specs repository information
1010
GitHub fork: Azure
11-
Branch: AVS/dotnet
12-
Commit: 13dc07975e72d633349c2f0696610f7ddf25fc16
11+
Branch: main
12+
Commit: 18479a01a549e9942ea38da8761919066aa87234
1313
AutoRest information
1414
Requested version: v2
15-
Bootstrapper version: autorest@2.0.4413
15+
Bootstrapper version: autorest@3.2.1
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.runsettings

sdk/avs/Microsoft.Azure.Management.Avs/src/Generated/AddonsOperations.cs

Lines changed: 0 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/avs/Microsoft.Azure.Management.Avs/src/Generated/AuthorizationsOperations.cs

Lines changed: 13 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)