Skip to content

test: Upgrade to XUnit 2.9.0, fix some test failures #2686

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

Merged
merged 6 commits into from
Aug 9, 2024

Conversation

tippmar-nr
Copy link
Member

@tippmar-nr tippmar-nr commented Aug 8, 2024

This PR does the following:

  • Re-applies the XUnit 2.9.0 upgrade to all integration test projects
  • Modifies AgentLogBase.GetReportingAppLink() to use TryGetLogLine() instead of WaitForLogLine()
  • Removes logging that I added in this commit several months ago.

These fixes should address the System.InvalidOperationException : There is no currently active test. errors we started seeing after the previous upgrade attempt.

Fixes #2684 (probably...)

@tippmar-nr tippmar-nr marked this pull request as ready for review August 8, 2024 19:03
@tippmar-nr tippmar-nr requested a review from a team as a code owner August 8, 2024 19:03
@tippmar-nr tippmar-nr enabled auto-merge (squash) August 8, 2024 20:07
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.73%. Comparing base (18a17af) to head (349cff7).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2686   +/-   ##
=======================================
  Coverage   80.73%   80.73%           
=======================================
  Files         459      459           
  Lines       29070    29070           
  Branches     3191     3191           
=======================================
  Hits        23469    23469           
  Misses       4811     4811           
  Partials      790      790           
Flag Coverage Δ
Agent 81.72% <ø> (ø)
Profiler 71.86% <ø> (ø)

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

@tippmar-nr tippmar-nr merged commit d3117a4 into main Aug 9, 2024
94 checks passed
@tippmar-nr tippmar-nr deleted the test/test-logger-fix branch August 9, 2024 15:58
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.

Integration tests fail after upgrading to XUnit 2.9.0
4 participants