<br><br><div class="gmail_quote">On Wed, Nov 7, 2012 at 6:11 AM, Maxim Lacrima <span dir="ltr">&lt;<a href="mailto:lacrima.maxim@gmail.com" target="_blank">lacrima.maxim@gmail.com</a>&gt;</span> wrote:<br><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>When I run these tests, the following errors may or may not occur:</div>
<div><div>[ERROR]</div><div>Traceback (most recent call last):</div><div>Failure: twisted.internet.defer.TimeoutError: &lt;...&gt;  still running at 120.0 secs</div></div><div><br></div><div><div>[ERROR]</div><div>Traceback (most recent call last):</div>

<div>Failure: twisted.trial.util.DirtyReactorAggregateError: Reactor was unclean.</div><div>Selectables:</div><div>&lt;&lt;class &#39;twisted.internet.tcp.Client&#39;&gt; to (&#39;localhost&#39;, 8081) at 1eb1750&gt;</div>

</div><div><br></div><div>I don&#39;t understand these errors. The server is up and running, but for some reason connections are timed out.</div></blockquote><div><br>The connection isn&#39;t timing out, the <i>test</i> is timing out. The connection may be working just fine.<br>
<br>Due to an unknown reason, presumably a bug in your code (or test code), the Deferred you are returning from the test method isn&#39;t being fired. E.g. you&#39;re not calling callback()/errback(), or a callback method you added is returning a Deferred that is in turn not being fired.<br>
<br></div></div>-- <br>Itamar Turner-Trauring, Future Foundries LLC<br><a href="http://futurefoundries.com/" target="_blank">http://futurefoundries.com/</a> — Twisted consulting, training and support.<br><br>