Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

CBQE:0 Wait for replication to go to running state before pausing.

Change-Id: Iac3c7487d840bb1ac482a05d91f886c5f8385e6b
Reviewed-on: http://review.couchbase.org/39646
Reviewed-by: Aruna Piravi <aruna@couchbase.com>
Tested-by: Aruna Piravi <aruna@couchbase.com>
  • Loading branch information...
commit 6b73fb2dc036a35ab28ed72f3ed236dc05166545 1 parent f427a5a
@arunapiravi arunapiravi authored arunapiravi committed
Showing with 2 additions and 0 deletions.
  1. +2 −0  pytests/clitest/couchbase_clitest.py
View
2  pytests/clitest/couchbase_clitest.py
@@ -1125,6 +1125,7 @@ def testXdcrReplication(self):
options = "--list"
output, _ = self.__execute_cli(cli_command, options)
+ self.sleep(8)
for value in output:
if value.startswith("stream id"):
replicator = value.split(":")[1].strip()
@@ -1141,6 +1142,7 @@ def testXdcrReplication(self):
for value in output:
if value.startswith("status"):
self.assertEqual(value.split(":")[1].strip(), "paused")
+ self.sleep(10)
# resume replication
options = "--resume"
options += (" --xdcr-replicator={0}".format(replicator))
Please sign in to comment.
Something went wrong with that request. Please try again.