Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REGRESSION]: VSTest@3 does not use narrower pattern #19555

Open
4 of 7 tasks
nohwnd opened this issue Feb 16, 2024 · 1 comment
Open
4 of 7 tasks

[REGRESSION]: VSTest@3 does not use narrower pattern #19555

nohwnd opened this issue Feb 16, 2024 · 1 comment
Labels
bug regression This used to work, but a change in the service/tasks broke it. triage

Comments

@nohwnd
Copy link
Member

nohwnd commented Feb 16, 2024

New issue checklist

Task name

VSTest@2

Breaking task version

3

Last working task version

2

Regression Description

The new task does not use the narrower test pattern implemented in #17135. This breaks our users, because they end up resolving additional dlls in obj and bin.

Environment type (Please select at least one enviroment where you face this issue)

  • Self-Hosted
  • Microsoft Hosted
  • VMSS Pool
  • Container

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Azure DevOps Server Version (if applicable)

No response

Operation system

all

Relevant log output

I don't have logs, this is caused by the task configuration.

Full task logs with system.debug enabled

UNSUCCESSFUL RUN
 [REPLACE THIS WITH YOUR INFORMATION] 
SUCCESSFUL RUN
 [REPLACE THIS WITH YOUR INFORMATION] 

Repro steps

# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml

trigger:
- main

pool:
  vmImage: ubuntu-latest

steps:
- script: echo Hello, world!
  displayName: 'Run a one-line script'

- script: |
    echo Add other tasks to build, test, and deploy your project.
    echo See https://aka.ms/yaml
  displayName: 'Run a multi-line script'

- task: VSTest@2

- task: VSTest@3


Put this in interactive pipeline editor on AzDO. 
click settings above VSTest@2 and you will see the new filter:
**\bin\**\*test.dll
**\bin\**\*tests.dll

click settings above VSTest@2 and you will see old filter:
**\*test*.dll
!**\*TestAdapter.dll
!**\obj\**
@nohwnd
Copy link
Member Author

nohwnd commented Jul 8, 2024

@v-gayatrij did something happen? will this be reverted / fixed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug regression This used to work, but a change in the service/tasks broke it. triage
Projects
None yet
Development

No branches or pull requests

2 participants