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

Replace usage of TransactionTestCase #1183

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

Conversation

Swatinem
Copy link
Contributor

@Swatinem Swatinem commented Mar 3, 2025

The TransactionTestCase is documented to be a bit slower than the normal one, and someone mentioned recently that this might be the reason why API tests are taking so long.

So lets try changing that, and see whether the testsuite still works :-)

@Swatinem Swatinem requested a review from a team March 3, 2025 11:51
@Swatinem Swatinem self-assigned this Mar 3, 2025
@Swatinem Swatinem requested a review from a team as a code owner March 3, 2025 11:51
@Swatinem Swatinem force-pushed the swatinem/no-trxtest branch from 4be8678 to 8781c63 Compare March 11, 2025 12:03
Copy link

overwatch-beta bot commented Mar 11, 2025

🚨 Sentry detected 8 potential issues in your recent changes 🚨

Lower risk findings

@codecov-notifications
Copy link

codecov-notifications bot commented Mar 11, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link

codecov bot commented Mar 11, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.86%. Comparing base (8d9cd04) to head (8a3d079).

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1183      +/-   ##
==========================================
- Coverage   95.87%   95.86%   -0.01%     
==========================================
  Files         493      493              
  Lines       16880    16871       -9     
==========================================
- Hits        16183    16174       -9     
  Misses        697      697              
Flag Coverage Δ
unit 95.86% <100.00%> (-0.01%) ⬇️

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.

The `TransactionTestCase` is documented to be a bit slower than the normal one, and someone mentioned recently that this might be the reason why API tests are taking so long.

So lets try changing that, and see whether the testsuite still works :-)
@Swatinem Swatinem force-pushed the swatinem/no-trxtest branch from fc66113 to 8a3d079 Compare March 13, 2025 12:05
Copy link
Contributor

@ajay-sentry ajay-sentry left a comment

Choose a reason for hiding this comment

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

tempted to say send it

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.

2 participants