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

Update dependencies in E2E tests #4767

Merged
merged 4 commits into from
Aug 30, 2022
Merged

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.

@@ -216,7 +216,7 @@ function Test-BuildIntegratedProjectClosureWithLegacyProjects {
function Test-BuildIntegratedMixedLegacyProjects {
# 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 <[email protected]>
Co-authored-by: Erick Yondon <[email protected]>
Co-authored-by: Martin Ruiz <[email protected]>
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 <[email protected]>
Co-authored-by: Erick Yondon <[email protected]>
Co-authored-by: Martin Ruiz <[email protected]>
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