<feed xmlns='http://www.w3.org/2005/Atom'>
<title>soledad.git/testing/tests/benchmarks, branch master</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>[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>[benchmarks] add responsiveness test with watchdog</title>
<updated>2017-09-11T19:24:30+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@leap.se</email>
</author>
<published>2017-07-27T20:12:04+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=99cffc7388d53f9aaf5b8890401ba8ddc5b29178'/>
<id>99cffc7388d53f9aaf5b8890401ba8ddc5b29178</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[test] allow test_vs_legacy test to run with remote server</title>
<updated>2017-09-08T11:14:19+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@riseup.net</email>
</author>
<published>2017-09-05T20:01:26+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=6b1d6d309da90d34f4683e8154d88800e640d01a'/>
<id>6b1d6d309da90d34f4683e8154d88800e640d01a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[test] refactor and fixes for blobs vs legacy test</title>
<updated>2017-09-05T14:17:51+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@riseup.net</email>
</author>
<published>2017-09-01T17:16:21+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=7aa5c3755ecbe8a5bbb5c2579a92bd80c815340f'/>
<id>7aa5c3755ecbe8a5bbb5c2579a92bd80c815340f</id>
<content type='text'>
- create payloads before running tests
- use different group names for different amount/sizes
- move legacy index creation to setup function
- limit concurrency on blobmanager to 2 (same as thread pool size)
- add a VACUUM call to observe blobs db size decreasing between tests
- properly cleanup server between blobs test runs
- refactor blobs pipeline so it makes more sense and is easier to read
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- create payloads before running tests
- use different group names for different amount/sizes
- move legacy index creation to setup function
- limit concurrency on blobmanager to 2 (same as thread pool size)
- add a VACUUM call to observe blobs db size decreasing between tests
- properly cleanup server between blobs test runs
- refactor blobs pipeline so it makes more sense and is easier to read
</pre>
</div>
</content>
</entry>
<entry>
<title>[test] use semaphore in legacy vs blobs test</title>
<updated>2017-08-31T13:48:17+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@riseup.net</email>
</author>
<published>2017-08-30T19:35:05+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=d134042f5393fcd45e7f6cfdc27adbff5071be2c'/>
<id>d134042f5393fcd45e7f6cfdc27adbff5071be2c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[benchmarks] add legacy mail delivery test</title>
<updated>2017-08-25T16:11:13+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@riseup.net</email>
</author>
<published>2017-08-13T19:19:10+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=992f213397ba0801d06367922d7f0097656f1bd0'/>
<id>992f213397ba0801d06367922d7f0097656f1bd0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[benchmarks] add docstrings for benchmarks</title>
<updated>2017-07-18T16:51:09+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@leap.se</email>
</author>
<published>2017-07-17T23:37:19+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=49484d93ba4183af460e592bb163153a92ba8571'/>
<id>49484d93ba4183af460e592bb163153a92ba8571</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[benchmarks] store test function docstring</title>
<updated>2017-07-18T16:51:08+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@leap.se</email>
</author>
<published>2017-07-17T18:16:35+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=465737c82439fd4fa32c4a89c5e84b1bca7fc4d7'/>
<id>465737c82439fd4fa32c4a89c5e84b1bca7fc4d7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
