<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/couchdb.git, branch changes_duration</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>support maximum changes_duration configuration option</title>
<updated>2021-09-24T19:07:29+00:00</updated>
<author>
<name>Robert Newson</name>
<email>rnewson@apache.org</email>
</author>
<published>2021-09-24T13:03:35+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=4acbbe47a4e3482e22fcae6fa321b00ce988b37a'/>
<id>4acbbe47a4e3482e22fcae6fa321b00ce988b37a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #3753 from cloudant/fix-ensure_exunit_started</title>
<updated>2021-09-16T11:17:49+00:00</updated>
<author>
<name>iilyak</name>
<email>iilyak@users.noreply.github.com</email>
</author>
<published>2021-09-16T11:17:49+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=5fb5684d8b19d52dc35c20d43e2a5e7548dea00b'/>
<id>5fb5684d8b19d52dc35c20d43e2a5e7548dea00b</id>
<content type='text'>
Fix logic in ensure_exunit_started</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix logic in ensure_exunit_started</pre>
</div>
</content>
</entry>
<entry>
<title>Fix logic in ensure_exunit_started</title>
<updated>2021-09-15T20:34:38+00:00</updated>
<author>
<name>ILYA Khlopotov</name>
<email>iilyak@apache.org</email>
</author>
<published>2021-09-15T14:40:29+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=c83e8d79ec3079cd8a69816929fde5eb454d92b1'/>
<id>c83e8d79ec3079cd8a69816929fde5eb454d92b1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Separate bad_config_test into multiple tests</title>
<updated>2021-09-09T15:27:19+00:00</updated>
<author>
<name>Jay Doane</name>
<email>jaydoane@apache.org</email>
</author>
<published>2021-09-09T02:43:44+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=436886d9b1b4da8c68e6cb0dd452fbeb1c571f90'/>
<id>436886d9b1b4da8c68e6cb0dd452fbeb1c571f90</id>
<content type='text'>
Instead of running as a single test, separate each corresponding field
and error into its own test, with its own timeout. A typical run now
looks like:

make eunit apps=couch_views suites=couch_views_batch_impl tests=bad_config_test_

======================== EUnit ========================
couch_views_batch_impl:186: bad_config_test_ (batch_initial_size)...[0.104 s] ok
couch_views_batch_impl:186: bad_config_test_ (batch_search_increment)...[0.077 s] ok
couch_views_batch_impl:186: bad_config_test_ (batch_sense_increment)...[0.074 s] ok
couch_views_batch_impl:186: bad_config_test_ (batch_max_tx_size_bytes)...[0.077 s] ok
couch_views_batch_impl:186: bad_config_test_ (batch_max_tx_time_msec)...[0.076 s] ok
couch_views_batch_impl:186: bad_config_test_ (batch_threshold_penalty)...[0.074 s] ok
=======================================================
  All 6 tests passed.

Previously, these tests were timing out when CI became resource
constrained. Examples of multiple runs show how prone to timing out
after 5 seconds the old monolithic bad_config_test was:

  couch_views_batch_impl: good_config_test...[0.217 s] ok
  couch_views_batch_impl: bad_config_test...[1.347 s] ok

  couch_views_batch_impl: good_config_test...[0.393 s] ok
  couch_views_batch_impl: bad_config_test...[2.332 s] ok

  couch_views_batch_impl: good_config_test...[0.358 s] ok
  couch_views_batch_impl: bad_config_test...[2.211 s] ok

  couch_views_batch_impl: good_config_test...[0.942 s] ok
  couch_views_batch_impl: bad_config_test...*timed out*

  couch_views_batch_impl: good_config_test...[1.179 s] ok
  couch_views_batch_impl: bad_config_test...*timed out*

  couch_views_batch_impl: good_config_test...[0.497 s] ok
  couch_views_batch_impl: bad_config_test...*timed out*
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of running as a single test, separate each corresponding field
and error into its own test, with its own timeout. A typical run now
looks like:

make eunit apps=couch_views suites=couch_views_batch_impl tests=bad_config_test_

======================== EUnit ========================
couch_views_batch_impl:186: bad_config_test_ (batch_initial_size)...[0.104 s] ok
couch_views_batch_impl:186: bad_config_test_ (batch_search_increment)...[0.077 s] ok
couch_views_batch_impl:186: bad_config_test_ (batch_sense_increment)...[0.074 s] ok
couch_views_batch_impl:186: bad_config_test_ (batch_max_tx_size_bytes)...[0.077 s] ok
couch_views_batch_impl:186: bad_config_test_ (batch_max_tx_time_msec)...[0.076 s] ok
couch_views_batch_impl:186: bad_config_test_ (batch_threshold_penalty)...[0.074 s] ok
=======================================================
  All 6 tests passed.

Previously, these tests were timing out when CI became resource
constrained. Examples of multiple runs show how prone to timing out
after 5 seconds the old monolithic bad_config_test was:

  couch_views_batch_impl: good_config_test...[0.217 s] ok
  couch_views_batch_impl: bad_config_test...[1.347 s] ok

  couch_views_batch_impl: good_config_test...[0.393 s] ok
  couch_views_batch_impl: bad_config_test...[2.332 s] ok

  couch_views_batch_impl: good_config_test...[0.358 s] ok
  couch_views_batch_impl: bad_config_test...[2.211 s] ok

  couch_views_batch_impl: good_config_test...[0.942 s] ok
  couch_views_batch_impl: bad_config_test...*timed out*

  couch_views_batch_impl: good_config_test...[1.179 s] ok
  couch_views_batch_impl: bad_config_test...*timed out*

  couch_views_batch_impl: good_config_test...[0.497 s] ok
  couch_views_batch_impl: bad_config_test...*timed out*
</pre>
</div>
</content>
</entry>
<entry>
<title>Increase timeout for couch views active tasks tests</title>
<updated>2021-09-09T15:27:19+00:00</updated>
<author>
<name>Jay Doane</name>
<email>jaydoane@apache.org</email>
</author>
<published>2021-09-08T18:06:02+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=60b280bf9d83a47ab37733132c0d083ef022d99f'/>
<id>60b280bf9d83a47ab37733132c0d083ef022d99f</id>
<content type='text'>
This doubles the default timeout to 10 seconds for these two tests.

They typically take a long time to run:

    couch_views_active_tasks_test:69: active_tasks_test_ (verify_basic_active_tasks)...[2.444 s] ok
    couch_views_active_tasks_test:70: active_tasks_test_ (verify_muliple_active_tasks)...[2.678 s] ok

    couch_views_active_tasks_test:69: active_tasks_test_ (verify_basic_active_tasks)...[2.646 s] ok
    couch_views_active_tasks_test:70: active_tasks_test_ (verify_muliple_active_tasks)...[2.743 s] ok

    couch_views_active_tasks_test:69: active_tasks_test_ (verify_basic_active_tasks)...[2.910 s] ok
    couch_views_active_tasks_test:70: active_tasks_test_ (verify_muliple_active_tasks)...[3.063 s] ok

and when resources are constrained, often time out:

    couch_views_active_tasks_test:69: active_tasks_test_ (verify_basic_active_tasks)...[2.044 s] ok
    couch_views_active_tasks_test:70: active_tasks_test_ (verify_muliple_active_tasks)...*timed out*

    couch_views_active_tasks_test:69: active_tasks_test_ (verify_basic_active_tasks)...[1.777 s] ok
    couch_views_active_tasks_test:70: active_tasks_test_ (verify_muliple_active_tasks)...*timed out*

    couch_views_active_tasks_test:69: active_tasks_test_ (verify_basic_active_tasks)...*timed out*
    couch_views_active_tasks_test:70: active_tasks_test_ (verify_muliple_active_tasks)...*timed out*
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This doubles the default timeout to 10 seconds for these two tests.

They typically take a long time to run:

    couch_views_active_tasks_test:69: active_tasks_test_ (verify_basic_active_tasks)...[2.444 s] ok
    couch_views_active_tasks_test:70: active_tasks_test_ (verify_muliple_active_tasks)...[2.678 s] ok

    couch_views_active_tasks_test:69: active_tasks_test_ (verify_basic_active_tasks)...[2.646 s] ok
    couch_views_active_tasks_test:70: active_tasks_test_ (verify_muliple_active_tasks)...[2.743 s] ok

    couch_views_active_tasks_test:69: active_tasks_test_ (verify_basic_active_tasks)...[2.910 s] ok
    couch_views_active_tasks_test:70: active_tasks_test_ (verify_muliple_active_tasks)...[3.063 s] ok

and when resources are constrained, often time out:

    couch_views_active_tasks_test:69: active_tasks_test_ (verify_basic_active_tasks)...[2.044 s] ok
    couch_views_active_tasks_test:70: active_tasks_test_ (verify_muliple_active_tasks)...*timed out*

    couch_views_active_tasks_test:69: active_tasks_test_ (verify_basic_active_tasks)...[1.777 s] ok
    couch_views_active_tasks_test:70: active_tasks_test_ (verify_muliple_active_tasks)...*timed out*

    couch_views_active_tasks_test:69: active_tasks_test_ (verify_basic_active_tasks)...*timed out*
    couch_views_active_tasks_test:70: active_tasks_test_ (verify_muliple_active_tasks)...*timed out*
</pre>
</div>
</content>
</entry>
<entry>
<title>Set structured logger to info level for exunit tests</title>
<updated>2021-09-07T20:04:26+00:00</updated>
<author>
<name>Jay Doane</name>
<email>jaydoane@apache.org</email>
</author>
<published>2021-09-03T23:58:17+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=be326c63faa679b7c69b3b5cf9d48c41aa66130d'/>
<id>be326c63faa679b7c69b3b5cf9d48c41aa66130d</id>
<content type='text'>
Suppress excessive debug logging of the form:

mix test --cover --trace src/chttpd/test/exunit/pagination_test.exs:232

  * test Legacy API (10 docs) : _all_docs/queries
12:40:01.895 [debug] [user: "adm", what: :login_attempt]
12:40:01.906 [debug] [username: 'adm', what: :successful_cookie_auth]
12:40:01.925 [debug] [username: 'adm', what: :successful_cookie_auth]
12:40:01.934 [debug] [username: 'adm', what: :successful_cookie_auth]
12:40:01.944 [debug] [username: 'adm', what: :successful_cookie_auth]
12:40:01.952 [debug] [username: 'adm', what: :successful_cookie_auth]
12:40:01.960 [debug] [username: 'adm', what: :successful_cookie_auth]
12:40:01.968 [debug] [username: 'adm', what: :successful_cookie_auth]
12:40:01.977 [debug] [username: 'adm', what: :successful_cookie_auth]
12:40:01.985 [debug] [username: 'adm', what: :successful_cookie_auth]
12:40:01.995 [debug] [username: 'adm', what: :successful_cookie_auth]
12:40:02.004 [debug] [username: 'adm', what: :successful_cookie_auth]
12:40:02.013 [debug] [username: 'adm', what: :successful_cookie_auth]
12:40:02.019 [debug] [username: 'adm', what: :successful_cookie_auth]
  * test Legacy API (10 docs) : _all_docs/queries (152.2ms)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Suppress excessive debug logging of the form:

mix test --cover --trace src/chttpd/test/exunit/pagination_test.exs:232

  * test Legacy API (10 docs) : _all_docs/queries
12:40:01.895 [debug] [user: "adm", what: :login_attempt]
12:40:01.906 [debug] [username: 'adm', what: :successful_cookie_auth]
12:40:01.925 [debug] [username: 'adm', what: :successful_cookie_auth]
12:40:01.934 [debug] [username: 'adm', what: :successful_cookie_auth]
12:40:01.944 [debug] [username: 'adm', what: :successful_cookie_auth]
12:40:01.952 [debug] [username: 'adm', what: :successful_cookie_auth]
12:40:01.960 [debug] [username: 'adm', what: :successful_cookie_auth]
12:40:01.968 [debug] [username: 'adm', what: :successful_cookie_auth]
12:40:01.977 [debug] [username: 'adm', what: :successful_cookie_auth]
12:40:01.985 [debug] [username: 'adm', what: :successful_cookie_auth]
12:40:01.995 [debug] [username: 'adm', what: :successful_cookie_auth]
12:40:02.004 [debug] [username: 'adm', what: :successful_cookie_auth]
12:40:02.013 [debug] [username: 'adm', what: :successful_cookie_auth]
12:40:02.019 [debug] [username: 'adm', what: :successful_cookie_auth]
  * test Legacy API (10 docs) : _all_docs/queries (152.2ms)
</pre>
</div>
</content>
</entry>
<entry>
<title>Suppress compiler warnings</title>
<updated>2021-09-07T19:27:01+00:00</updated>
<author>
<name>Jay Doane</name>
<email>jaydoane@apache.org</email>
</author>
<published>2021-09-03T06:37:43+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=bd3ebbf899ce76c45da3850a4d6c0d70f105b805'/>
<id>bd3ebbf899ce76c45da3850a4d6c0d70f105b805</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace couch_js with js_engine in exunit pagination test</title>
<updated>2021-09-07T16:01:51+00:00</updated>
<author>
<name>Jay Doane</name>
<email>jaydoane@apache.org</email>
</author>
<published>2021-09-04T20:36:54+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=eee0a61a3af4e9e0f8d857205f8aba1f2b822fd9'/>
<id>eee0a61a3af4e9e0f8d857205f8aba1f2b822fd9</id>
<content type='text'>
See: https://github.com/apache/couchdb/commit/3907e9f0abd2bfc26e8384a819939ea964daf157
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
See: https://github.com/apache/couchdb/commit/3907e9f0abd2bfc26e8384a819939ea964daf157
</pre>
</div>
</content>
</entry>
<entry>
<title>Increase timeout for multiple ddoc indexer test</title>
<updated>2021-09-04T05:04:40+00:00</updated>
<author>
<name>Jay Doane</name>
<email>jaydoane@apache.org</email>
</author>
<published>2021-09-04T00:06:52+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=e59ddd28a1cd730805fece2bfd22f99ae7611483'/>
<id>e59ddd28a1cd730805fece2bfd22f99ae7611483</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix 'clause cannot match' compiler warning</title>
<updated>2021-09-02T17:00:36+00:00</updated>
<author>
<name>Jay Doane</name>
<email>jaydoane@apache.org</email>
</author>
<published>2021-09-01T23:46:21+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=d63ab21ad76fa76b799c069037beffc19d267b4a'/>
<id>d63ab21ad76fa76b799c069037beffc19d267b4a</id>
<content type='text'>
Fixes this warning:

couchdb/src/couch_eval/src/couch_eval.erl:168: Warning: this clause cannot match because a previous clause at line 167 always matches
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes this warning:

couchdb/src/couch_eval/src/couch_eval.erl:168: Warning: this clause cannot match because a previous clause at line 167 always matches
</pre>
</div>
</content>
</entry>
</feed>
