<div dir="ltr">On 13 December 2013 20:56, Code Raguet <span dir="ltr"><<a href="mailto:iraguet@activitycentral.com" target="_blank">iraguet@activitycentral.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="im"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Only on the first save().<br>Using getEnv().defaultTimeoutInterval = something we could increase the timeout for all the datastore tests or even for all the tests. I'm worried it would get a bit annoying for development to always have a big timeout...</blockquote>

<div> </div></div><div>Perhaps we should do as in env.js...</div><div>Adding anachronistic unit-tests (tests that check the logic in isolation, mocking and stubbing the external services and deps) that would run faster, hence lighting the development process. Also, moving those heavier tests (whose check through the actual implementation) to another file that, developers would run after a long round of development (before pushing, for example) or just leaving that job to buildbot.</div>

<div>Therefore, we would have the benefit that the current tests give (keeping big timeouts, may be) without delaying developers.</div></div></blockquote><div><br></div><div>Yeah, perhaps we need to start distinguishing unit tests from integration tests, with the second not being run by default (the test which runs/stops every activity is another example of integration test).<br>
<br></div><div>With that as medium term plan, I think just bumping timeout length on the short time to fix buildbot is fine.<br></div></div></div></div>