<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/couchdb.git/rel/plugins/eunit_plugin.erl, branch decrease-indexer-transaction-time-limit</title>
<subtitle>github.com: apache/couchdb.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/'/>
<entry>
<title>Cleanup data dirs in eunit_plugin before test run</title>
<updated>2018-01-04T14:57:48+00:00</updated>
<author>
<name>Eric Avdey</name>
<email>eiri@eiri.ca</email>
</author>
<published>2018-01-04T14:57:48+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=b7911065ec52432ed5f04ad49b1e601ec34d6672'/>
<id>b7911065ec52432ed5f04ad49b1e601ec34d6672</id>
<content type='text'>
We use `unique_monotonic_integer` to name
the test databases in unit testing.
That means that on erlang R &gt; 18 we are always
creating databases with same names.

When unit tests crashing or don't properly
cleaning up on teardown, they are leaving behind
old database files, son on a next run tests'
setup fails with `database exists` exception.

This fix cleans up old database files
making sure we are always running unit tests
from same blank state.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We use `unique_monotonic_integer` to name
the test databases in unit testing.
That means that on erlang R &gt; 18 we are always
creating databases with same names.

When unit tests crashing or don't properly
cleaning up on teardown, they are leaving behind
old database files, son on a next run tests'
setup fails with `database exists` exception.

This fix cleans up old database files
making sure we are always running unit tests
from same blank state.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add setup_eunit rebar command</title>
<updated>2014-08-29T20:35:00+00:00</updated>
<author>
<name>Russell Branca</name>
<email>chewbranca@apache.org</email>
</author>
<published>2014-08-29T19:32:52+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=0955cc946d064772aa4c0148bd28519c01dd0631'/>
<id>0955cc946d064772aa4c0148bd28519c01dd0631</id>
<content type='text'>
This adds a rebar plugin that introduces the setup_eunit function to
bootstrap the test ini files necessary to run the eunit test suite. It
grabs the ini template files from rel/overlay/*.ini primarily to be
able to set an absolute path for data directories and the prefix based
on the location of the CouchDB source directory.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds a rebar plugin that introduces the setup_eunit function to
bootstrap the test ini files necessary to run the eunit test suite. It
grabs the ini template files from rel/overlay/*.ini primarily to be
able to set an absolute path for data directories and the prefix based
on the location of the CouchDB source directory.
</pre>
</div>
</content>
</entry>
</feed>
