You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "jaydoane (via GitHub)" <gi...@apache.org> on 2023/02/14 00:16:34 UTC
[GitHub] [couchdb] jaydoane opened a new pull request, #4423: Improve replication scheduler docs tests
jaydoane opened a new pull request, #4423:
URL: https://github.com/apache/couchdb/pull/4423
<!-- Thank you for your contribution!
Please file this form by replacing the Markdown comments
with your text. If a section needs no action - remove it.
Also remember, that CouchDB uses the Review-Then-Commit (RTC) model
of code collaboration. Positive feedback is represented +1 from committers
and negative is a -1. The -1 also means veto, and needs to be addressed
to proceed. Once there are no objections, the PR can be merged by a
CouchDB committer.
See: http://couchdb.apache.org/bylaws.html#decisions for more info. -->
## Overview
Increase timeout for `t_scheduler_docs_total_rows`.
Continue to wait if "_replication_id" is still present in `t_doc_fields_are_updated`.
This should improve the robustness of these failing tests:
```
couch_replicator_scheduler_docs_tests:63: scheduler_docs_test_prefixed_db_test_ (t_scheduler_docs_total_rows)...*timed out*
in function timer:sleep/1 (timer.erl, line 152)
in call from test_util:wait/5 (src/test_util.erl, line 235)
in call from couch_replicator_scheduler_docs_tests:t_scheduler_docs_total_rows/1 (test/eunit/couch_replicator_scheduler_docs_tests.erl, line 113)
in call from eunit_test:run_testfun/1 (eunit_test.erl, line 71)
in call from eunit_proc:run_test/1 (eunit_proc.erl, line 531)
in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 356)
in call from eunit_proc:handle_test/2 (eunit_proc.erl, line 514)
in call from eunit_proc:tests_inorder/3 (eunit_proc.erl, line 456)
undefined
couch_replicator_scheduler_docs_tests:99: with (t_doc_fields_are_updated)...*failed*
in function couch_replicator_scheduler_docs_tests:t_doc_fields_are_updated/1 (test/eunit/couch_replicator_scheduler_docs_tests.erl, line 182)
in call from eunit_test:run_testfun/1 (eunit_test.erl, line 71)
in call from eunit_proc:run_test/1 (eunit_proc.erl, line 531)
in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 356)
in call from eunit_proc:handle_test/2 (eunit_proc.erl, line 514)
in call from eunit_proc:tests_inorder/3 (eunit_proc.erl, line 456)
in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 346)
in call from eunit_proc:run_group/2 (eunit_proc.erl, line 570)
**error:{assert,[{module,couch_replicator_scheduler_docs_tests},
{line,182},
{expression,"is_map_key ( << \"_replication_id\" >> , StateDoc )"},
{expected,false},
{value,true}]}
output:<<"">>
```
<!-- Please give a short brief for the pull request,
what problem it solves or how it makes things better. -->
## Testing recommendations
```
make eunit suites=couch_replicator
```
<!-- Describe how we can test your changes.
Does it provide any behaviour that the end users
could notice? -->
## Related Issues or Pull Requests
<!-- If your changes affect multiple components in different
repositories please put links to those issues or pull requests here. -->
## Checklist
- [x] Code is written and works correctly
- [x] Changes are covered by tests
- [ ] Any new configurable parameters are documented in `rel/overlay/etc/default.ini`
- [ ] Documentation changes were made in the `src/docs` folder
- [ ] Documentation changes were backported (separated PR) to affected branches
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [couchdb] jaydoane closed pull request #4423: Improve replication scheduler docs tests
Posted by "jaydoane (via GitHub)" <gi...@apache.org>.
jaydoane closed pull request #4423: Improve replication scheduler docs tests
URL: https://github.com/apache/couchdb/pull/4423
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [couchdb] jaydoane commented on pull request #4423: Improve replication scheduler docs tests
Posted by "jaydoane (via GitHub)" <gi...@apache.org>.
jaydoane commented on PR #4423:
URL: https://github.com/apache/couchdb/pull/4423#issuecomment-1429135497
Closing in favor of https://github.com/apache/couchdb/pull/4424
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org