-
Notifications
You must be signed in to change notification settings - Fork 64
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 more logging when License expires #4773
Conversation
This is really hard to test as it involves generating licenses with really short expiry times and then triggering the housekeeping jobs. (also needs running not on the stub driver to really test) |
Have you tried sinon fake timers?
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4773 +/- ##
==========================================
- Coverage 78.79% 78.79% -0.01%
==========================================
Files 311 311
Lines 14782 14786 +4
Branches 3385 3385
==========================================
+ Hits 11647 11650 +3
- Misses 3135 3136 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Looks like we already have test for this, but it is only testing the stub driver |
part of #4772
Description
Ensure reason for failure to suspend logged when license expires.
Related Issue(s)
#4772
Checklist
flowforge.yml
?FlowFuse/helm
to update ConfigMap TemplateFlowFuse/CloudProject
to update values for Staging/ProductionLabels
area:migration
label