Skip to content

Migrate test recording, for mgmt-plane #34243

@weidongxu-microsoft

Description

@weidongxu-microsoft

link #33342

We'd need to check if these work

  • normal recording
  • recording with random name/guid (i.e. they are saved to json, and loaded at playback)
  • redact of secret (need to know whether we can still run script to redact it, before e.g. upload to somewhere we no longer control; or we can use TestBase to redact); if now request body is also recorded, we may need to add more redact rules

We may try

  1. resources (random name)
  2. storage (secret)
  3. appservice or ACI/ACR (different kind of secret)

We also need to see if we can still batch modify api-version in recorded data, after phase2
We need this e.g. after upgrade resources RP or network RP
https://github.com/Azure/azure-sdk-assets/blob/main/README.md
e.g. upgrade Network would modify more tests #34243 (comment)


Another question on the "azure-sdk-assets" repo is: how it handles different recording from different branch (e.g. one branch may release a preview api-version, but main on stable)

Metadata

Metadata

Labels

MgmtThis issue is related to a management-plane library.Mgmt-EngSysEngineering System (Management Plane Specific)test-enhancement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions