Details
-
Bug
-
Resolution: Fixed
-
Test Blocker
-
2.8.0
-
Security Level: Public
Description
Mandatory:
- CBL version: 2.8.0-178 / SG Version: 2.7.0-166
- SG config:
{
"interface":":4984",
"adminInterface": "0.0.0.0:4985",
"maxIncomingConnections": 0,
"maxFileDescriptors": 90000,
"compressResponses": false,
"logging": {"debug": {"enabled": true} },
"SSLCert": "sg_cert.pem",
"SSLKey": "sg_privkey.pem",
"databases":{
"db":{
"allow_conflicts": false,
"num_index_replicas": 0,
"username": "travel-sample",
"password": "password",
"delta_sync": { "enabled": true},
"server":"http://192.168.33.10:8091",
"bucket":"travel-sample"
}
}
}
- Steps to Reproduce:
- create cbl db docs
- start replicator, wait replicator finishes replication turns becomes idle
- call resetCheckPoint() API
- Actual Result:
no exception, checkpoint gets reset
- Expected Result:
according to the design spec, "#3 If the resetCheckpoint() is called while the replicator is not stopped, an exception will be thrown." this deprecated API resetCheckPoint shoudl throw an exception because replicator is still active
- Logs : in attachments
- Github link for the code:
- Jenkins job failure link:
- Pytest Command
pytest --timeout 1800 --liteserv-version=2.8.0 --liteserv-host=192.168.33.108 --liteserv-port=8080 --no-conflicts --enable-file-logging --delta-sync --sg-ssl --sync-gateway-version=2.7.0-166 --mode=cc --server-version=7.0.0-2083 --liteserv-platform=android --create-db-per-test=cbl-test testsuites/CBLTester/CBL_Functional_tests -s -rsx --use-local-testserver -k test_resetCheckpointFailure
- What is the last build this test passed: 2.8.0-158