Skip to content

Commit

Permalink
system event log fixes
Browse files Browse the repository at this point in the history
Change-Id: Icc1870b47ddf4866c987006bacafbe17f0adbbda
Reviewed-on: https://review.couchbase.org/c/testrunner/+/172885
Reviewed-by: Arunkumar Senthilnathan <arun.couchbase@yahoo.com>
Tested-by:  Pavithra Mahamani <pavithra.mahamani@couchbase.com>
  • Loading branch information
pavithra-mahamani committed Mar 28, 2022
1 parent aace252 commit d9d3951
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions conf/xdcr/py-xdcr-systemeventlogs.conf
Expand Up @@ -5,7 +5,7 @@ xdcr.uniXDCR.unidirectional.load_with_ops
xdcr.uniXDCR.unidirectional.verify_replications_deleted_after_bucket_deletion

# Replications - pause, resume
xdcr.pauseResumeXDCR.PauseResumeTest.replication_with_pause_and_resume,consecutive_pause_resume=3,rdirection=bidirection,pause=C1-C2
xdcr.pauseResumeXDCR.PauseResumeTest.replication_with_pause_and_resume,consecutive_pause_resume=3,pause=C1-C2

# Default replication settings
xdcr.compressionXDCR.compression.test_compression_with_unixdcr_backfill_load,update=C1,delete=C1,default_bucket=False,standard_buckets=2
Expand All @@ -18,6 +18,6 @@ xdcr.lww.Lww.test_lww_enable

# Other
xdcr.uniXDCR.unidirectional.load_with_failover_master,failover=C1
xdcr.rebalanceXDCR.Rebalance.async_rebalance_in,rdirection=bidirection,update=C1-C2,delete=C1-C2,expires=300,rebalance=C1,num_rebalance=1
xdcr.rebalanceXDCR.Rebalance.async_rebalance_out,rdirection=bidirection,update=C1-C2,delete=C1-C2,rebalance=C1-C2,num_rebalance=1
xdcr.rebalanceXDCR.Rebalance.async_rebalance_in,update=C1-C2,delete=C1-C2,expires=300,rebalance=C1,num_rebalance=1
xdcr.rebalanceXDCR.Rebalance.async_rebalance_out,update=C1-C2,delete=C1-C2,rebalance=C1-C2,num_rebalance=1
xdcr.secureXDCR.XDCRSecurityTests.test_xdcr_with_security,enable_n2n=C1,update=C1,expires=10
2 changes: 2 additions & 0 deletions lib/SystemEventLogLib/xdcr_events.py
Expand Up @@ -52,6 +52,8 @@ def delete_remote_cluster_ref(node, remote, uuid, encryption_type, remote_ref_na
def create_replication(node, source_bucket, target_bucket, id, remote_ref_name, filter_expression):
if not filter_expression:
filter_expression = "false"
else:
filter_expression = "true"
return {
Event.Fields.NODE_NAME: node,
Event.Fields.EVENT_ID: XDCR.CreateReplication,
Expand Down

0 comments on commit d9d3951

Please sign in to comment.