<feed xmlns='http://www.w3.org/2005/Atom'>
<title>soledad.git/testing, branch 0.10.4</title>
<subtitle>[soledad]
</subtitle>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/'/>
<entry>
<title>[refactor] move tests to root of repository</title>
<updated>2017-09-17T18:50:55+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@riseup.net</email>
</author>
<published>2017-09-17T15:08:25+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=cfff46ff9becdbe5cf48816870e625ed253ecc57'/>
<id>cfff46ff9becdbe5cf48816870e625ed253ecc57</id>
<content type='text'>
Tests entrypoint was in a testing/ subfolder in the root of the
repository. This was made mainly because we had some common files for
tests and we didn't want to ship them (files in testing/test_soledad,
which is itself a python package. This sometimes causes errors when
loading tests (it seems setuptools is confused with having one python
package in a subdirectory of another).

This commit moves the tests entrypoint to the root of the repository.

Closes: #8952
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Tests entrypoint was in a testing/ subfolder in the root of the
repository. This was made mainly because we had some common files for
tests and we didn't want to ship them (files in testing/test_soledad,
which is itself a python package. This sometimes causes errors when
loading tests (it seems setuptools is confused with having one python
package in a subdirectory of another).

This commit moves the tests entrypoint to the root of the repository.

Closes: #8952
</pre>
</div>
</content>
</entry>
<entry>
<title>[test] add SQLiteBlobBackend benchmark tests</title>
<updated>2017-09-14T15:14:44+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@riseup.net</email>
</author>
<published>2017-09-11T17:38:36+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=affc09e18a243b215dd1430f53c74a46eab8c098'/>
<id>affc09e18a243b215dd1430f53c74a46eab8c098</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[pkg] standardize location of services tokens file</title>
<updated>2017-09-14T15:04:56+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@riseup.net</email>
</author>
<published>2017-09-13T15:38:26+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=ddb830fdfe767efe1dd8e4e27281531938211203'/>
<id>ddb830fdfe767efe1dd8e4e27281531938211203</id>
<content type='text'>
Introduction of local services authentication added a configuration file
containing the auth tokens for each service. There were different names
for that file, and this commit standardizes all of them to the same
value: /etc/soledad/services.tokens
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Introduction of local services authentication added a configuration file
containing the auth tokens for each service. There were different names
for that file, and this commit standardizes all of them to the same
value: /etc/soledad/services.tokens
</pre>
</div>
</content>
</entry>
<entry>
<title>[pkg] use /var/lib/soledad/blobs to store blobs</title>
<updated>2017-09-14T15:04:56+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@riseup.net</email>
</author>
<published>2017-09-13T15:31:17+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=ee69f207716251ab7cbb6e95d06b7be8555165f6'/>
<id>ee69f207716251ab7cbb6e95d06b7be8555165f6</id>
<content type='text'>
Soledad Server was previously using something in /srv to store blobs in
the server side. Debian/lintian doesn't like that at all, so we are
changing to /var/lib/soledad/blobs.

Closes: #8948
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Soledad Server was previously using something in /srv to store blobs in
the server side. Debian/lintian doesn't like that at all, so we are
changing to /var/lib/soledad/blobs.

Closes: #8948
</pre>
</div>
</content>
</entry>
<entry>
<title>[tests] fix test_unarmored_blob_encrypt flakiness</title>
<updated>2017-09-11T20:32:56+00:00</updated>
<author>
<name>Victor Shyba</name>
<email>victor1984@riseup.net</email>
</author>
<published>2017-09-11T20:32:56+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=0d7bf3133c0d64ef3d52f33cb21fb8e76a3ac69d'/>
<id>0d7bf3133c0d64ef3d52f33cb21fb8e76a3ac69d</id>
<content type='text'>
AES can generate base64 valid strings, making this test flaky. Try to
decrypt using armor=False instead.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
AES can generate base64 valid strings, making this test flaky. Try to
decrypt using armor=False instead.
</pre>
</div>
</content>
</entry>
<entry>
<title>[refactor] do not use unneeded lambda</title>
<updated>2017-09-11T19:24:30+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@riseup.net</email>
</author>
<published>2017-09-11T18:12:41+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=80a5dcaf3d03267dcf3ff9e16fd5a54ef4a45f8d'/>
<id>80a5dcaf3d03267dcf3ff9e16fd5a54ef4a45f8d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[test] print responsiveness results if no elastic url is given</title>
<updated>2017-09-11T19:24:30+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@riseup.net</email>
</author>
<published>2017-09-11T18:06:11+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=993f5ca6aa936db632dd5e014bb6b4302cbd3ed8'/>
<id>993f5ca6aa936db632dd5e014bb6b4302cbd3ed8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[test] selectivelly start events server on benchmarks</title>
<updated>2017-09-11T19:24:30+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@riseup.net</email>
</author>
<published>2017-09-09T18:31:49+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=89dd40d77fbd602a415e5ae673d4166e1b432428'/>
<id>89dd40d77fbd602a415e5ae673d4166e1b432428</id>
<content type='text'>
Soledad's events server might be a pain for tests because if it is not
properly initialized and shut down there might be parts of the server
missing or leftover in the reactor after tests are run. With the recent
changes to the way tests are invocated, there's the need to further
isolate events server startup for benchmarks, otherwise it will conflict
with other tests. This commit moves the events server setup to inside
the pytest_collection_modifyitems() hook, where we can check if the
benchmark subdir was selected and properly start the events server if
needed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Soledad's events server might be a pain for tests because if it is not
properly initialized and shut down there might be parts of the server
missing or leftover in the reactor after tests are run. With the recent
changes to the way tests are invocated, there's the need to further
isolate events server startup for benchmarks, otherwise it will conflict
with other tests. This commit moves the events server setup to inside
the pytest_collection_modifyitems() hook, where we can check if the
benchmark subdir was selected and properly start the events server if
needed.
</pre>
</div>
</content>
</entry>
<entry>
<title>[test] add --subdir option and blacklist</title>
<updated>2017-09-11T19:24:30+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@riseup.net</email>
</author>
<published>2017-09-09T12:26:14+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=8e6cddf794c4b0e44bec6daa4363f2926e238f0a'/>
<id>8e6cddf794c4b0e44bec6daa4363f2926e238f0a</id>
<content type='text'>
Use subdir path to select/deselect benchmark tests.

Because of the way pytest and pytest benchamrk select/deselect tests, it
makes more sense for this test suite to use a --subdir option to select
only a subset of tests and a blacklist of subdirectories that should not
be run unless explicitelly asked to.

This commit adds a --subdir option, that will deselect all tests no in
./tests/&lt;subdir&gt; when the option is passed to pytest. Also, a blacklist
is added so, unless explicitelly added as a --subdir, tests in
blacklisted subdirectories will not be run.

The reasons for this modification are:

- pytest-benchmarks selects/deselects tests based on the type of their
  fixtures. This means that fixtures have to be instantiated previous to
  test selection/deselection, something that may cause side effects that
  we want to avoid.

- the usual test suite is run for all benchmarks, while some tests
  should only be run in specific situations (as is the case of
  benchmarks and responsiveness tests). It is saner to implement subdir
  selection than marking all tests with pytest marks and using them to
  select/deselect.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use subdir path to select/deselect benchmark tests.

Because of the way pytest and pytest benchamrk select/deselect tests, it
makes more sense for this test suite to use a --subdir option to select
only a subset of tests and a blacklist of subdirectories that should not
be run unless explicitelly asked to.

This commit adds a --subdir option, that will deselect all tests no in
./tests/&lt;subdir&gt; when the option is passed to pytest. Also, a blacklist
is added so, unless explicitelly added as a --subdir, tests in
blacklisted subdirectories will not be run.

The reasons for this modification are:

- pytest-benchmarks selects/deselects tests based on the type of their
  fixtures. This means that fixtures have to be instantiated previous to
  test selection/deselection, something that may cause side effects that
  we want to avoid.

- the usual test suite is run for all benchmarks, while some tests
  should only be run in specific situations (as is the case of
  benchmarks and responsiveness tests). It is saner to implement subdir
  selection than marking all tests with pytest marks and using them to
  select/deselect.
</pre>
</div>
</content>
</entry>
<entry>
<title>[benchmarks] post responsiveness tests to elasticsearch</title>
<updated>2017-09-11T19:24:30+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@leap.se</email>
</author>
<published>2017-07-28T22:25:11+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=f6a409a711df032507cbe3dd1f1129c1b7e19c95'/>
<id>f6a409a711df032507cbe3dd1f1129c1b7e19c95</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
