iercan opened a new issue #13430:
URL: https://github.com/apache/superset/issues/13430


   I experienced new alert module grace period does not work as expected. I 
want to set an alert without grace period with following settings
   ```
   cron: 59 * * * *
   grace period: 0
   alert condition: value > 0
   ```
   
   ### Expected results
   
   Alert should trigger every run since grace period lesser than cron period.
   
   ### Actual results
   
   Alert does not trigger consecutively. We should get alert at 12:59 but 
instead it claims grace period just ended. 
   
![image](https://user-images.githubusercontent.com/3406152/109750395-6c566900-7bed-11eb-8c6f-42c7858c0953.png)
   
   #### How to reproduce the bug
   
   1. Create an alert which grace period lesser than check period
   
   ### Environment
   
   Installed superset via apache/superset docker image. 
   
   - superset version: 1.0.1
   - python version: 3.7
   
   ### Checklist
   
   Make sure to follow these steps before submitting your issue - thank you!
   
   - [x] I have checked the superset logs for python stacktraces and included 
it here as text if there are any.
   - [x] I have reproduced the issue with at least the latest released version 
of superset.
   - [x] I have checked the issue tracker for the same issue and I haven't 
found one similar.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to