Skip to content

Fix condition to check for 'Type' property in testConfig#6258

Merged
haonanttt merged 1 commit intomainfrom
user/haonanttt/fixScript
Feb 28, 2026
Merged

Fix condition to check for 'Type' property in testConfig#6258
haonanttt merged 1 commit intomainfrom
user/haonanttt/fixScript

Conversation

@haonanttt
Copy link
Contributor

A microsoft employee must use /azp run to validate using the pipelines below.

WARNING:
Comments made by azure-pipelines bot maybe inaccurate.
Please see pipeline link to verify that the build is being ran.

For status checks on the main branch, please use TransportPackage-Foundation-PR
(https://microsoft.visualstudio.com/ProjectReunion/_build?definitionId=81063&_a=summary)
and run the build against your PR branch with the default parameters.

@haonanttt
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

foreach ($testConfig in $testJson.Tests)
{
$testConfig | Write-Host
if ($testConfig -contains 'Type')
Copy link
Contributor

Choose a reason for hiding this comment

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

What is your test case that is not TAEF?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm not working on some test case that is not TAEF, I'm just aware this line have issue and create this PR to fix it.

I have another PR containing a script that is based on this script, and was pointed out this line is not working. So I also modified Foundation given it really not work as expected.

@haonanttt haonanttt merged commit 4b1d6e5 into main Feb 28, 2026
34 checks passed
@haonanttt haonanttt deleted the user/haonanttt/fixScript branch February 28, 2026 01:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants