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

Remove call to expire_all in ODL code #2076

Closed
wants to merge 1 commit into from

Conversation

jonathangreen
Copy link
Member

@jonathangreen jonathangreen commented Sep 18, 2024

Description

Move the call to expire_all into the test code.

Motivation and Context

I noticed this while working on #2074. I was wondering if you considered this approach @dbernstein of putting this call into the tests instead of the main codebase. Generally, I think, mucking about with the session should be avoided as much as we can.

I left this in draft because I wanted to get your feedback on it @dbernstein, in case there is some pitfall here that I might be falling into.

How Has This Been Tested?

  • Running unit tests

Checklist

  • I have updated the documentation accordingly.
  • All new and existing tests passed.

Copy link

codecov bot commented Sep 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.79%. Comparing base (557663c) to head (79e10f8).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2076   +/-   ##
=======================================
  Coverage   90.79%   90.79%           
=======================================
  Files         344      344           
  Lines       40601    40600    -1     
  Branches     8796     8796           
=======================================
  Hits        36862    36862           
+ Misses       2485     2484    -1     
  Partials     1254     1254           

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

@dbernstein dbernstein force-pushed the bugfix/dont-expire-in-odl branch from 79e10f8 to b6e6a14 Compare October 1, 2024 17:01
@jonathangreen
Copy link
Member Author

I'm going to close this one and roll it into changes I need to make for holds in PP-1728.

@jonathangreen jonathangreen deleted the bugfix/dont-expire-in-odl branch October 16, 2024 15:03
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.

1 participant