Skip to content

Fix Live Test Errors#29686

Merged
vidai-msft merged 2 commits into
mainfrom
JunKai/containerinstance-live-test-image-tags
May 26, 2026
Merged

Fix Live Test Errors#29686
vidai-msft merged 2 commits into
mainfrom
JunKai/containerinstance-live-test-image-tags

Conversation

@YanaXu
Copy link
Copy Markdown
Contributor

@YanaXu YanaXu commented May 26, 2026

Description

Mandatory Checklist

  • SHOULD update ChangeLog.md file(s) appropriately
    • Update src/{{SERVICE}}/{{SERVICE}}/ChangeLog.md.
      • A snippet outlining the change(s) made in the PR should be written under the ## Upcoming Release header in the past tense.
    • Should not change ChangeLog.md if no new release is required, such as fixing test case only.
  • SHOULD regenerate markdown help files if there is cmdlet API change. Instruction
  • SHOULD have proper test coverage for changes in pull request.
  • SHOULD NOT adjust version of module manually in pull request

JunKai-v and others added 2 commits May 26, 2026 13:31
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings May 26, 2026 08:20
@azure-client-tools-bot-prd
Copy link
Copy Markdown

Thanks for your contribution! The pull request validation has started. Please revisit this comment for updated status.

@YanaXu YanaXu enabled auto-merge (squash) May 26, 2026 08:20
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates AutoRest live test scenario scripts to address failing live runs by aligning test inputs with current cmdlet parameters/expected outputs and refreshing container image selections.

Changes:

  • Functions live test: update Function App identity enablement to use -EnableSystemAssignedIdentity $true.
  • ContainerInstance live tests: refresh container image tags and explicitly set container resource requests (CPU/memory).
  • ContainerInstance live test: fix tag count assertion order/value access (1 vs $actual.Tag.Count).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/Functions/LiveTests/Functions.Autorest/TestLiveScenarios.ps1 Updates the Function App live update scenario to enable system-assigned identity using the current parameter.
src/ContainerInstance/LiveTests/ContainerInstance.Autorest/TestLiveScenarios.ps1 Updates container images, sets CPU/memory requests for container instances, and corrects tag count assertion.

@YanaXu YanaXu disabled auto-merge May 26, 2026 08:26
@vidai-msft vidai-msft merged commit 74fbfb8 into main May 26, 2026
13 of 20 checks passed
@vidai-msft vidai-msft deleted the JunKai/containerinstance-live-test-image-tags branch May 26, 2026 08:30
YanaXu added a commit that referenced this pull request May 26, 2026
Co-authored-by: JunKai-v <v-juphang@microsoft.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants