<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nickserver.git/test/remote, branch version/0.10</title>
<subtitle>[nickserver] 
</subtitle>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/'/>
<entry>
<title>fix: #3 handle domains without A-record</title>
<updated>2017-07-24T08:03:22+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2017-07-24T07:55:28+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=b1738a78ccf5768f92068a27255f9f69be1c3147'/>
<id>b1738a78ccf5768f92068a27255f9f69be1c3147</id>
<content type='text'>
If a domain only has an mx record but no A record it
will trigger a ConnectionError when attempting the
nicknym key lookup.

We need to detect and handle this in the http adapter
already because once the exception is handled by Celluloid
our actor will be terminated.

So now we allow for handing a rescue option to the
adapter with a string that is checked for inclusion in
the error message. If the string is found the exception
will be caught and the adapter returns nil.

We only make use of this when checking the availability
of nicknym so far. That should be the only http request
going out.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If a domain only has an mx record but no A record it
will trigger a ConnectionError when attempting the
nicknym key lookup.

We need to detect and handle this in the http adapter
already because once the exception is handled by Celluloid
our actor will be terminated.

So now we allow for handing a rescue option to the
adapter with a string that is checked for inclusion in
the error message. If the string is found the exception
will be caught and the adapter returns nil.

We only make use of this when checking the availability
of nicknym so far. That should be the only http request
going out.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: filedescriptor leak from http_adapters</title>
<updated>2017-07-21T06:53:41+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2017-07-21T06:19:20+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=406234367544a4207141230683dddaccd98fb21a'/>
<id>406234367544a4207141230683dddaccd98fb21a</id>
<content type='text'>
Now we reuse a single adapter for all requests triggered
by an incoming request. Then we .terminate the adapter.

Includes a regression test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now we reuse a single adapter for all requests triggered
by an incoming request. Then we .terminate the adapter.

Includes a regression test.
</pre>
</div>
</content>
</entry>
<entry>
<title>test: more meaningful error messages in case of failures</title>
<updated>2016-11-30T12:23:13+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2016-11-30T11:49:50+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=6851b606bdc985565104d41a48f1ecc81d132227'/>
<id>6851b606bdc985565104d41a48f1ecc81d132227</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>silence Celluloid.logger in tests</title>
<updated>2016-10-02T13:05:02+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2016-10-02T13:05:02+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=5967c4a568aff2c5e73e3ab933aa68d25387aeb1'/>
<id>5967c4a568aff2c5e73e3ab933aa68d25387aeb1</id>
<content type='text'>
Introduced CelluloidTest as a test class for all tests that depend on
Celluloid being up and running.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Introduced CelluloidTest as a test class for all tests that depend on
Celluloid being up and running.
</pre>
</div>
</content>
</entry>
<entry>
<title>skip tests with ConnectionErrors</title>
<updated>2016-09-29T10:56:14+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2016-09-29T10:56:14+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=4cd842927a60e4e81915da22983f216ccd54d6a3'/>
<id>4cd842927a60e4e81915da22983f216ccd54d6a3</id>
<content type='text'>
We handle these errors nicely in the dispatcher and have tests for that.
Tests should fail or err out when running into exceptions we are not
handling yet. But for these it's better to just skip.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We handle these errors nicely in the dispatcher and have tests for that.
Tests should fail or err out when running into exceptions we are not
handling yet. But for these it's better to just skip.
</pre>
</div>
</content>
</entry>
<entry>
<title>hand on connection errors to dispatcher so it can handle it</title>
<updated>2016-09-22T09:31:01+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2016-09-22T09:31:01+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=1202e3b03c3bb88cd3a63dae3866167564f1d25d'/>
<id>1202e3b03c3bb88cd3a63dae3866167564f1d25d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>deal with network issues in nicknym source</title>
<updated>2016-09-16T12:33:01+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2016-09-16T12:32:55+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=964cd0b049e67ca10bd37b67c4b14ccd37064511'/>
<id>964cd0b049e67ca10bd37b67c4b14ccd37064511</id>
<content type='text'>
This is a first step. In case the suspected nicknym server cannot be
reached we will now move on and try other sources.

It's robably not what we want in the long run. In order to know wether
no key exists or we just failed to connect to some servers a different
http response code would be nice if network errors occured.

This simplifies testing such scenarios in the unit test and makes the
remote tests skip on network failure.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a first step. In case the suspected nicknym server cannot be
reached we will now move on and try other sources.

It's robably not what we want in the long run. In order to know wether
no key exists or we just failed to connect to some servers a different
http response code would be nice if network errors occured.

This simplifies testing such scenarios in the unit test and makes the
remote tests skip on network failure.
</pre>
</div>
</content>
</entry>
<entry>
<title>bugfix: load order issue in server, include test</title>
<updated>2016-09-16T12:06:09+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2016-09-16T10:56:13+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=b2ddc9ffa9fdc880ca301817d59277343005fd5d'/>
<id>b2ddc9ffa9fdc880ca301817d59277343005fd5d</id>
<content type='text'>
Includes our first functional test. This one only makes sure loading
the bin/nickserver actually works fine. Enough to catch this bug.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Includes our first functional test. This one only makes sure loading
the bin/nickserver actually works fine. Enough to catch this bug.
</pre>
</div>
</content>
</entry>
<entry>
<title>test: properly test nicknym source + fixes</title>
<updated>2016-09-16T10:12:34+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2016-09-13T14:45:28+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=f5bf2c6554f0e541c75d90fdcf4f0095e9801d4d'/>
<id>f5bf2c6554f0e541c75d90fdcf4f0095e9801d4d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>test: separate remote tests into own directory</title>
<updated>2016-09-12T14:34:57+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2016-09-12T14:34:25+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=ec875169b0231d84bb8c55bbe91c52b896561f1e'/>
<id>ec875169b0231d84bb8c55bbe91c52b896561f1e</id>
<content type='text'>
Dropped the webmock dependency. We have our own http adapter. So we can
stub that to inject a mock. As an added bonus this does not mess with
other http requests.

Also wrote down testing strategy. Not completely implemented yet.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Dropped the webmock dependency. We have our own http adapter. So we can
stub that to inject a mock. As an added bonus this does not mess with
other http requests.

Also wrote down testing strategy. Not completely implemented yet.
</pre>
</div>
</content>
</entry>
</feed>
