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

Upgrade / align packages in test projects / #2980

Open
wants to merge 16 commits into
base: main
Choose a base branch
from

Conversation

MichelZ
Copy link
Contributor

@MichelZ MichelZ commented Nov 6, 2024

According to #2379 (comment), the Remote Executor package and XUnit was held back by .NET6, now that .NET6 is removed, this should work fine

@ErikEJ
Copy link
Contributor

ErikEJ commented Nov 6, 2024

Looks like you missed some project file updates?

@MichelZ
Copy link
Contributor Author

MichelZ commented Nov 6, 2024

Looks like you missed some project file updates?

Looks like the issue with the build is that the packages are not available in the officially cached version of the sqlclientdrivers feed. I've built the project locally (with nuget.org as source) and it worked fine

@benrr101
Copy link
Contributor

benrr101 commented Nov 6, 2024

@MichelZ Ah, yeah, I recently learned this as well. We only allow contributors to add new package versions to our internal nuget feed. I was also shown how to manually add them, so give me a bit and I'll get them added so we can kick off the build in earnest.

@benrr101
Copy link
Contributor

Upstream packages have been added to the feed, let's see what azp thinks

@benrr101
Copy link
Contributor

/azp run

Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@MichelZ
Copy link
Contributor Author

MichelZ commented Nov 13, 2024

@benrr101 Can you cache these additional, transitive packages:
xunit.analyzers.1.16.0
xunit.runner.utility.2.9.2
xunit.runner.console.2.9.2
xunit.core.2.9.2
xunit.assert.2.9.2
xunit.extensibility.core.2.9.2
xunit.extensibility.execution.2.9.2
Microsoft.TestPlatform.ObjectModel 17.11.1
Microsoft.TestPlatform.TestHost 17.11.1
Microsoft.CodeCoverage 17.11.1

Thaaaanks :)

@benrr101
Copy link
Contributor

All updated - let's give it another run

@benrr101
Copy link
Contributor

/azp run

Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@benrr101 benrr101 added the Area\Tests Issues that are targeted to tests or test projects label Nov 14, 2024
@MichelZ
Copy link
Contributor Author

MichelZ commented Nov 15, 2024

It seems that net462 tests are not discovered anymore. Will look into that

Copy link

codecov bot commented Nov 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 66.85%. Comparing base (1348c3c) to head (1ae7a52).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2980      +/-   ##
==========================================
- Coverage   72.67%   66.85%   -5.82%     
==========================================
  Files         285      285              
  Lines       59160    64582    +5422     
==========================================
+ Hits        42997    43179     +182     
- Misses      16163    21403    +5240     
Flag Coverage Δ
addons 92.58% <ø> (ø)
netcore 72.52% <ø> (-2.92%) ⬇️
netfx 64.49% <ø> (-6.58%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

@MichelZ
Copy link
Contributor Author

MichelZ commented Nov 15, 2024

net462 tests running again

@MichelZ
Copy link
Contributor Author

MichelZ commented Nov 16, 2024

While we're at it, I guess it makes sense to upgrade the arcade packages as well, can you cache:
Microsoft.DotNet.RemoteExecutor - 10.0.0-beta.24564.1
Microsoft.DotNet.XUnitExtensions - 10.0.0-beta.24564.1

@MichelZ
Copy link
Contributor Author

MichelZ commented Nov 18, 2024

I've also seen that we sometimes seem to hit this XUnit bug that would get resolved as well with this PR and make tests more stable

@David-Engel
Copy link
Contributor

While we're at it, I guess it makes sense to upgrade the arcade packages as well, can you cache: Microsoft.DotNet.RemoteExecutor - 10.0.0-beta.24564.1 Microsoft.DotNet.XUnitExtensions - 10.0.0-beta.24564.1

Done!

NuGet.config Outdated Show resolved Hide resolved
tools/props/VersionsNet8OrLater.props Outdated Show resolved Hide resolved
@MichelZ
Copy link
Contributor Author

MichelZ commented Nov 19, 2024

/azp run

Copy link

Commenter does not have sufficient privileges for PR 2980 in repo dotnet/SqlClient

@benrr101
Copy link
Contributor

/azp run

Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@cheenamalhotra
Copy link
Member

Package updates are coming in #2946 and then this PR could adjust changes needed, if any.

@MichelZ
Copy link
Contributor Author

MichelZ commented Nov 23, 2024

Absolutely, will do

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area\Tests Issues that are targeted to tests or test projects
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants