[ 
https://issues.apache.org/jira/browse/AURORA-1202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14363822#comment-14363822
 ] 

Kevin Sweeney commented on AURORA-1202:
---------------------------------------

Something like [bean validation](http://bval.apache.org/) annotations on 
generated thrift struct types could be helpful here as both documentation and 
for programmatic validation.

> add a test for all the implicit invariants in aurora
> ----------------------------------------------------
>
>                 Key: AURORA-1202
>                 URL: https://issues.apache.org/jira/browse/AURORA-1202
>             Project: Aurora
>          Issue Type: Task
>          Components: Executor, Scheduler
>            Reporter: brian wickman
>
> Right now there are unchecked invariants in the scheduler/executor.  We 
> should either write a test to validate constants or do runtime checking to 
> make sure that a supplied set of constants does not violate any sort of 
> scheduling invariant.
> (One example is transient_task_state_timeout which is coupled to the 
> preemptor e.g. offer_reservation_duration.)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to