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

[DOP-20962] Add scheduler integration test #118

Open
wants to merge 11 commits into
base: develop
Choose a base branch
from

Conversation

IlyasDevelopment
Copy link
Contributor

@IlyasDevelopment IlyasDevelopment commented Nov 5, 2024

Change Summary

Add integration test for scheduler. The full cycle of the shedualer operation is checked:

  1. Task initialization in the database
  2. Task scheduling via APScheduler
  3. Sending the task to the Celery queue
  4. Task execution by Celery worker
  5. Updating the execution status
  6. Checking in the database that the task was completed successfully

Checklist

  • Commit message and PR title is comprehensive
  • Keep the change as small as possible
  • Unit and integration tests for the changes exist
  • Tests pass on CI and coverage does not decrease
  • Documentation reflects the changes where applicable
  • docs/changelog/next_release/<pull request or issue id>.<change type>.rst file added describing change
    (see CONTRIBUTING.rst for details.)
  • My PR is ready to review.

@IlyasDevelopment IlyasDevelopment added the ci:skip-changelog Add this label to skip changelog file check label Nov 5, 2024
@IlyasDevelopment IlyasDevelopment self-assigned this Nov 5, 2024
Copy link

codecov bot commented Nov 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.63%. Comparing base (87044fb) to head (532a065).

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #118      +/-   ##
===========================================
- Coverage    93.03%   87.63%   -5.41%     
===========================================
  Files          129      130       +1     
  Lines         3089     3090       +1     
  Branches       241      241              
===========================================
- Hits          2874     2708     -166     
- Misses         157      324     +167     
  Partials        58       58              

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci:skip-changelog Add this label to skip changelog file check
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants