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

Add test cases that guarantee the main execution flows of FPCScheduler. #5308

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

style95
Copy link
Member

@style95 style95 commented Aug 8, 2022

Description

This is to guarantee the main execution flows with system tests.

Related issue and scope

  • I opened an issue to propose and discuss this change (#????)

My changes affect the following components

  • API
  • Controller
  • Message Bus (e.g., Kafka)
  • Loadbalancer
  • Scheduler
  • Invoker
  • Intrinsic actions (e.g., sequences, conductors)
  • Data stores (e.g., CouchDB)
  • Tests
  • Deployment
  • CLI
  • General tooling
  • Documentation

Types of changes

  • Bug fix (generally a non-breaking change which closes an issue).
  • Enhancement or new feature (adds new functionality).
  • Breaking change (a bug fix or enhancement which changes existing behavior).

Checklist:

  • I signed an Apache CLA.
  • I reviewed the style guides and followed the recommendations (Travis CI will check :).
  • I added tests to cover my changes.
  • My changes require further changes to the documentation.
  • I updated the documentation where necessary.

@codecov-commenter
Copy link

codecov-commenter commented Aug 8, 2022

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 69.39%. Comparing base (8af2092) to head (164da32).

❗ Current head 164da32 differs from pull request most recent head b9386f6. Consider uploading reports for the commit b9386f6 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5308      +/-   ##
==========================================
- Coverage   76.78%   69.39%   -7.40%     
==========================================
  Files         241      241              
  Lines       14650    14650              
  Branches      644      644              
==========================================
- Hits        11249    10166    -1083     
- Misses       3401     4484    +1083     

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

@bdoyle0182
Copy link
Contributor

LGTM

@@ -498,7 +498,7 @@ durationChecker:
spi: "{{ duration_checker_spi | default('') }}"
timeWindow: "{{ duration_checker_time_window | default('1 d') }}"

enable_scheduler: "{{ scheduler_enable | default(false) }}"
enable_scheduler: "{{ scheduler_enable | default(true) }}"
Copy link
Member Author

Choose a reason for hiding this comment

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

The scheduler test failure of this PR was because the scheduler was not enabled.
As we would enable the scheduler by default with #5463, I rebased this PR from it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants