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

Fix issue creating many snapshots #8392

Merged
merged 1 commit into from
Aug 12, 2024
Merged

Conversation

yabirgb
Copy link
Member

@yabirgb yabirgb commented Aug 12, 2024

Closes #(issue_number)

Checklist

  • The PR modified the frontend, and updated the user guide to reflect the changes.

Copy link

codecov bot commented Aug 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 51.94%. Comparing base (40bd27d) to head (eb67303).
Report is 11 commits behind head on bugfixes.

Additional details and impacted files
@@             Coverage Diff              @@
##           bugfixes    #8392       /-   ##
============================================
- Coverage     53.80%   51.94%   -1.87%     
============================================
  Files          1710     1710              
  Lines        168970   168983       13     
  Branches      13989    13992        3     
============================================
- Hits          90919    87773    -3146     
- Misses        75630    79022     3392     
  Partials       2421     2188     -233     
Flag Coverage Δ
backend 75.28% <100.00%> (-5.61%) ⬇️

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.

Copy link
Member

@LefterisJP LefterisJP left a comment

Choose a reason for hiding this comment

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

Hmmm got a typo but will fix it in my PR as I will get conflicts.

First-come-first-merge. You win.

@pytest.mark.parametrize('number_of_eth_accounts', [0])
def test_snapshots_dont_happen_always(rotkehlchen_api_server: 'APIServer') -> None:
"""Regression test for an issue we had where the task for snapshots was
creating one for each run of the background task.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
creating one for each run of the background task.
creating a snapshot for each run of the background task.

@LefterisJP LefterisJP merged commit ee7653c into rotki:bugfixes Aug 12, 2024
15 checks passed
@yabirgb yabirgb deleted the fix-task branch August 12, 2024 14:43
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.

None yet

2 participants