Skip to content

Added 2 multiple client system test cases for Edge Server#394

Merged
sanjivanipatrax merged 5 commits into
mainfrom
edge-server-p3
May 12, 2026
Merged

Added 2 multiple client system test cases for Edge Server#394
sanjivanipatrax merged 5 commits into
mainfrom
edge-server-p3

Conversation

@sanjivanipatrax
Copy link
Copy Markdown
Contributor

This PR adds in 2 multiple client system test cases for Edge Server which were remaining in Phase 3.

Features added :-

  • 2 system test cases, test_system_multi_client_concurrent and test_system_multi_client_chaos, in tests/qe/edge_server/test_system.py.
  • Additional logging to the existing system test cases.

…nal logging for existing single client tests
@sanjivanipatrax sanjivanipatrax self-assigned this Apr 22, 2026
@sanjivanipatrax sanjivanipatrax marked this pull request as ready for review April 22, 2026 14:32
Copy link
Copy Markdown
Member

@borrrden borrrden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing test specs

Comment thread tests/QE/edge_server/test_system.py
@sanjivanipatrax sanjivanipatrax requested a review from borrrden May 8, 2026 10:56
This document describes the long-running system tests for Couchbase Lite Edge Server replication and resilience, including a stability run and a chaos run with periodic Edge Server kill/restart.
This document describes the long-running system tests for Couchbase Lite Edge Server replication and resilience. Tests cover both single-client and multi-client (4 concurrent async clients) scenarios, each in two modes: a stability run with steady CRUD traffic, and a chaos run that periodically kills and restarts the Edge Server.

> Each *italicised* bullet phrase is the exact string passed to `mark_test_step` in the code, in the same order. Trailing text after the em-dash describes what happens at that step.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a neat idea!

Copy link
Copy Markdown
Member

@borrrden borrrden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If there is anything else you think will be useful with diagnosing, you can use the cbl_info and family of logging to put it into the logs, but as you've done here "mark test step" should be a touch point with the markdown so that someone unfamiliar with the test can see the reasoning of the test.

@sanjivanipatrax sanjivanipatrax merged commit 3c947b8 into main May 12, 2026
5 checks passed
@sanjivanipatrax sanjivanipatrax deleted the edge-server-p3 branch May 12, 2026 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants