Re: Framework testing in Mesos

2014-10-14 Thread Dharmesh Kakadia
Thanks to both of you. @David Idempotence (and functional style) will both mitigate the issue of testing. @Sharma #3 looks impressive and I hear the pain. Few questions: * Since you already have the state machine modeling, can't the scheduler actions also be modeled as a state machine

Re: Framework testing in Mesos

2014-10-12 Thread David Greenberg
For our frameworks, we don't tend to do much automated testing of the Mesos interface--instead, we construct the framework state, then send it a message, since our callbacks take the state of the framework + the event as the argument. This way, we don't need to have mesos running, and we can trim