Skip to content

Update dependencies in E2E tests#4767

Merged
heng-liu merged 4 commits intodevfrom
dev-hengliu-updateDependencyInE2E
Aug 30, 2022
Merged

Update dependencies in E2E tests#4767
heng-liu merged 4 commits intodevfrom
dev-hengliu-updateDependencyInE2E

Conversation

@heng-liu
Copy link
Contributor

Bug

Fixes: https://github.com/NuGet/Client.Engineering/issues/1818

Regression? Last working version:

Description

Update the dependency versions in E2E tests.

PR Checklist

  • PR has a meaningful title

  • PR has a linked issue.

  • Described changes

  • Tests

    • Automated tests added
    • OR
    • Test exception
    • OR
    • N/A
  • Documentation

    • Documentation PR or issue filled
    • OR
    • N/A

@heng-liu heng-liu requested a review from a team as a code owner August 24, 2022 21:32
dominoFire
dominoFire previously approved these changes Aug 24, 2022
nkolev92
nkolev92 previously approved these changes Aug 25, 2022
Comment on lines +14 to +15
<TargetPlatformVersion Condition=" '$(TargetPlatformVersion)' == '' ">10.0.19041.0</TargetPlatformVersion>
<TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion>
Copy link
Member

Choose a reason for hiding this comment

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

I didn't look into the CI failures, but be careful about changing these values. One of the two values determines which version of the Windows SDK VS will look for on the machine, and if that version of the Windows SDK isn't defined in the vsconfig file that the DartLab machine uses for configuration, VS will pop up a dialog that will freeze the test until the test, or the entire pipeline, times out.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch! Thanks! Fixed.

@heng-liu heng-liu dismissed stale reviews from nkolev92 and dominoFire via 0578302 August 26, 2022 20:15
@heng-liu heng-liu force-pushed the dev-hengliu-updateDependencyInE2E branch from f8e46ea to 0578302 Compare August 26, 2022 20:15
Copy link
Contributor

@dominoFire dominoFire left a comment

Choose a reason for hiding this comment

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

Maybe we can use dotnet new to create new test projects on the fly.

# Arrange
$project1 = New-ClassLibrary
$project1 | Install-Package Newtonsoft.Json -Version 5.0.6
$project1 | Install-Package Newtonsoft.Json -Version 13.0.1
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it easy to declare a version variable so this can be updated in one place next time if needed?

@heng-liu heng-liu merged commit fdac4de into dev Aug 30, 2022
@heng-liu heng-liu deleted the dev-hengliu-updateDependencyInE2E branch August 30, 2022 19:30
nkolev92 pushed a commit that referenced this pull request Sep 29, 2023
nkolev92 pushed a commit that referenced this pull request Sep 29, 2023
nkolev92 pushed a commit that referenced this pull request Sep 29, 2023
nkolev92 added a commit that referenced this pull request Oct 2, 2023
* Update dependencies in E2E tests (#4767)

* Fix component detection alert for microsoft.owin package (#4841)

* Remove package for Microsoft.Owin in End2end test

* Address component detection failure newtonsoft.json 4.0.1 (#4934)

* remove unused Moq package from E2E test (#5358)

---------

Co-authored-by: Heng Liu <45407901+heng-liu@users.noreply.github.com>
Co-authored-by: Erick Yondon <eryondon@microsoft.com>
Co-authored-by: Martin Ruiz <martin.ruiz.mares@gmail.com>
nkolev92 added a commit that referenced this pull request Oct 2, 2023
* Update dependencies in E2E tests (#4767)

* Fix component detection alert for microsoft.owin package (#4841)

* Remove package for Microsoft.Owin in End2end test

* Address component detection failure newtonsoft.json 4.0.1 (#4934)

* remove unused Moq package from E2E test (#5358)

* Use net6.0-windows

---------

Co-authored-by: Heng Liu <45407901+heng-liu@users.noreply.github.com>
Co-authored-by: Erick Yondon <eryondon@microsoft.com>
Co-authored-by: Martin Ruiz <martin.ruiz.mares@gmail.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.

5 participants