<feed xmlns='http://www.w3.org/2005/Atom'>
<title>soledad.git/testing, branch 0.9.0rc1</title>
<subtitle>[soledad]
</subtitle>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/'/>
<entry>
<title>[tests] make check_schema_versions default to False</title>
<updated>2016-10-21T17:09:54+00:00</updated>
<author>
<name>Victor Shyba</name>
<email>victor.shyba@gmail.com</email>
</author>
<published>2016-10-05T22:52:58+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=09a62dd1d6b076fcc7ac001d0b998ebb119feaad'/>
<id>09a62dd1d6b076fcc7ac001d0b998ebb119feaad</id>
<content type='text'>
CouchServerState is spread across test codebase and this option is
intended to be used only on server startup. This commit makes it default
to False and explicitly set it to True on where it's necessary.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
CouchServerState is spread across test codebase and this option is
intended to be used only on server startup. This commit makes it default
to False and explicitly set it to True on where it's necessary.
</pre>
</div>
</content>
</entry>
<entry>
<title>[tests] specify basepython on root env</title>
<updated>2016-10-21T17:09:54+00:00</updated>
<author>
<name>Victor Shyba</name>
<email>victor.shyba@gmail.com</email>
</author>
<published>2016-10-03T18:23:19+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=28eb55c8388fa0dd713471d1c3334ef4ccb49ae4'/>
<id>28eb55c8388fa0dd713471d1c3334ef4ccb49ae4</id>
<content type='text'>
code-check is running with py3 randomly on CI, this commit should pin
it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
code-check is running with py3 randomly on CI, this commit should pin
it.
</pre>
</div>
</content>
</entry>
<entry>
<title>[feature] check for user dbs couch schema versions</title>
<updated>2016-10-03T22:27:42+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@leap.se</email>
</author>
<published>2016-10-03T22:27:42+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=4e06eb370b99f2d343e96f774a3ad9b8b77c9548'/>
<id>4e06eb370b99f2d343e96f774a3ad9b8b77c9548</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[test] add flake8 code check and generalize name of tox env</title>
<updated>2016-09-30T12:08:47+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@leap.se</email>
</author>
<published>2016-09-24T18:57:54+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=887fd917a19654aa6a7c6c54be3f22c3b6c79b92'/>
<id>887fd917a19654aa6a7c6c54be3f22c3b6c79b92</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[test] use pytest tmpdir fixture in all tests</title>
<updated>2016-09-30T12:08:03+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@leap.se</email>
</author>
<published>2016-09-24T14:32:13+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=d5bbe37495ee733be5f78de72364f3ec48ed7a0d'/>
<id>d5bbe37495ee733be5f78de72364f3ec48ed7a0d</id>
<content type='text'>
Tests that were imported from u1db or created on top of that structure
were leaving temporary directories behind. This could cause problems in
test servers, either by filling the partition or by extrapolating the
maximum amount of files in a directory.

This commit replaces all usages of temporary directories in the old test
structure by pytest tmpdir fixture, which properly cares for removing
temporary directories.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Tests that were imported from u1db or created on top of that structure
were leaving temporary directories behind. This could cause problems in
test servers, either by filling the partition or by extrapolating the
maximum amount of files in a directory.

This commit replaces all usages of temporary directories in the old test
structure by pytest tmpdir fixture, which properly cares for removing
temporary directories.
</pre>
</div>
</content>
</entry>
<entry>
<title>[test] add tagged perf job for gitlab-ci</title>
<updated>2016-09-09T10:41:27+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@leap.se</email>
</author>
<published>2016-09-08T15:44:53+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=a7ffb49e1169c93af3b728f5db1a5e16e6231590'/>
<id>a7ffb49e1169c93af3b728f5db1a5e16e6231590</id>
<content type='text'>
In order to configure performance tests to run in a specific machine we
need to add a tagged job to .gitlab-ci.yml file. That job will only
execute the perf tests, and then we can have runners that will only run
those jobs.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In order to configure performance tests to run in a specific machine we
need to add a tagged job to .gitlab-ci.yml file. That job will only
execute the perf tests, and then we can have runners that will only run
those jobs.
</pre>
</div>
</content>
</entry>
<entry>
<title>[test] add tox env for perf tests</title>
<updated>2016-09-06T15:11:21+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@leap.se</email>
</author>
<published>2016-09-06T15:11:21+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=bf21811b18dad6f562357037ae3d335ac59b5746'/>
<id>bf21811b18dad6f562357037ae3d335ac59b5746</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[tests] add pep8 in main tox run from within the gitlab script</title>
<updated>2016-09-03T01:16:13+00:00</updated>
<author>
<name>Kali Kaneko</name>
<email>kali@leap.se</email>
</author>
<published>2016-09-02T20:12:43+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=60fb1e6554775d1b22685f5b1eea04795c84a542'/>
<id>60fb1e6554775d1b22685f5b1eea04795c84a542</id>
<content type='text'>
add coverage reports too.

(hereby we swear not to write stupid tests just because it feels good to
have an increased coverage metric).

- Resolves: #8416
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
add coverage reports too.

(hereby we swear not to write stupid tests just because it feels good to
have an increased coverage metric).

- Resolves: #8416
</pre>
</div>
</content>
</entry>
<entry>
<title>[test] randomize payload</title>
<updated>2016-08-29T15:26:24+00:00</updated>
<author>
<name>Victor Shyba</name>
<email>victor.shyba@gmail.com</email>
</author>
<published>2016-08-29T03:05:45+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=d86831e4cd3e77f340618168528e62cf4dafb5d7'/>
<id>d86831e4cd3e77f340618168528e62cf4dafb5d7</id>
<content type='text'>
We were using 'x'*size as payload, but on real usage the payload will be
random. This commit randomizes the payload using a predefined seed, so
the random payload will be the same across benchmarks.
Using random payloads also improves accuracy of compression or encoding
impacts and we will be evaluating those changes for resouce usage
issues.
Also note that base64 is used on payload. That was needed for utf8
safety, but overhead was removed to leave payloads as defined by
benchmarks.
Base64 was chosen also due its popular usage on MIME encoding, which is
used on mail attachments (our current scenario).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We were using 'x'*size as payload, but on real usage the payload will be
random. This commit randomizes the payload using a predefined seed, so
the random payload will be the same across benchmarks.
Using random payloads also improves accuracy of compression or encoding
impacts and we will be evaluating those changes for resouce usage
issues.
Also note that base64 is used on payload. That was needed for utf8
safety, but overhead was removed to leave payloads as defined by
benchmarks.
Base64 was chosen also due its popular usage on MIME encoding, which is
used on mail attachments (our current scenario).
</pre>
</div>
</content>
</entry>
<entry>
<title>[test] stop trying to hit me and hit me</title>
<updated>2016-08-25T22:12:31+00:00</updated>
<author>
<name>Victor Shyba</name>
<email>victor.shyba@gmail.com</email>
</author>
<published>2016-08-25T22:04:18+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=49d4013819733966c05178254725e6a89f1909fe'/>
<id>49d4013819733966c05178254725e6a89f1909fe</id>
<content type='text'>
TestSyncEncrypterPool.test_encrypt_doc_and_get_it_back was trying to do
an operation and asserting the number of attempts. This test is about
putting a doc on encrypter pool and getting it encrypted. If we dont
wait for the encryption operation to succeed, then complex
trial-and-error happens, but if we just ask twisted to wait for one
operation before going to the other, this is not needed.

-- Resolves: #8398
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
TestSyncEncrypterPool.test_encrypt_doc_and_get_it_back was trying to do
an operation and asserting the number of attempts. This test is about
putting a doc on encrypter pool and getting it encrypted. If we dont
wait for the encryption operation to succeed, then complex
trial-and-error happens, but if we just ask twisted to wait for one
operation before going to the other, this is not needed.

-- Resolves: #8398
</pre>
</div>
</content>
</entry>
</feed>
