Description
Mandatory:
CBL / SG Version: cbs 6.6.1-9213, SG 2.8.1-13
Steps to Reproduce:
1. Have sg config with allow conflicts with some revs_limit
|
2. Create docs in CBL
|
3. Start a continous Replicator to have SG load all the docs. Verify if the no. of docs are same in both SG and CBL.
|
4. Update docs in CBL and also update docs through SG with number of times more than revs_limit. check the docs after replication become idle
|
5. Change the revs_limit less than actual revs limit
|
6. Restart sg
|
7. update doc 1 more time and let replication become idle
|
8. Verify revs limit is maintained with new modified revs_limit
|
Actual Result:
after step 6, replicator stopped, got unexpected exception, calling for replicator status doesn't get smooth response.
Expected Result:
no unexpected exception, receive replicator stopped message or smooth message to keep test run to the end
Logs : attached
Github link for the code:
Jenkins job failure link:
Pytest Command
pytest -s -rsx --timeout 1800 --liteserv-version=2.8.4-6 --liteserv-host=localhost --liteserv-port=8080 --no-conflicts --enable-file-logging --delta-sync --sg-ssl --sync-gateway-version=2.8.1-13 --mode=cc --server-version=6.6.1-9213 --liteserv-platform=java-macosx --create-db-per-test=cbl-test testsuites/CBLTester/CBL_Functional_tests/TestSetup_FunctionalTests -k test_no_conflicts_update_with_revs_limit[sync_gateway_revs_conflict_configurable-10-25] --use-local-testserver --skip-provisioning
|
What is the last build this test passed: 2.8.3-1 (java) 2.8.4-7 (android)