Description
NOTE: Error events are working
Mandatory:
- CBL : 3.0.0-171
- SG Config:
ok: [sg1] => {
"out.stdout": {
"adminInterface": "0.0.0.0:4985",
"compressResponses": false,
"databases": {
"db": {
"allow_conflicts": false,
"bucket": "travel-sample",
"delta_sync":
,
"num_index_replicas": 0,
"password": "password",
"server": "http://172.23.106.102:8091",
"username": "travel-sample"
}
},
"interface": ":4984",
"logging": {
"debug":
},
"maxFileDescriptors": 90000,
"maxIncomingConnections": 0,
"metricsInterface": ":4986"
}
}
- Steps to Reproduce:
1. Create 100 docs in CBL, Create docs in SGW
2. Add Document Replication Change listener for replicator.
3. Replicate docs push/pull to SGW through one shot replication
4. Get the events of replicator from listener
5. Verify the event matches with the expected outcome.
i. Assert the total event count should be equal to no. of docs replicated
ii. Assert no. push event are equal to pushed docs
iii. Assert no. pull event are equal to pulled docs
iv. Assert there are no error in events
- Actual Result:
Pull / Push events are 0 - Expected Result:
Pull / Push events should be 100 - Logs :
CBL LOGS:
attached:test_replication_eventing_status.zip file has all logs
- Github link for the code:
- Pytest Command
pytest -s -rsx --use-local-testserver --timeout 1800 --liteserv-version=3.0.0-167 --liteserv-host=localhost --liteserv-port=8080 --no-conflicts --enable-file-logging --delta-sync --sync-gateway-version=2.8.2-1 --mode=cc --server-version=7.0.0-4797 --liteserv-platform=ios --create-db-per-test=cbl-test testsuites/CBLTester/CBL_Functional_tests/TestSetup_FunctionalTests -k 'test_replication_eventing_status[10]' |
- What is the last build this test passed:3.0.0-156
Attachments
Issue Links
- relates to
-
CBL-1987 Replicator could lose the previously set progressLevel
- Closed