Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

CBQE:0 Verify memc or proxy ssl connection only after complete online…

… upgrade

Change-Id: If981ccc504311741cffa4f91a8e8bd2dd39a50dd
Reviewed-on: http://review.couchbase.org/51518
Reviewed-by: Aruna Piravi <aruna@couchbase.com>
Tested-by: Aruna Piravi <aruna@couchbase.com>
commit 2b8b8b00f0228199a198352f43e68130ff550d84 1 parent 98e06a0
@arunapiravi arunapiravi authored
Showing with 3 additions and 5 deletions.
  1. +3 −5 pytests/xdcr/upgradeXDCR.py
View
8 pytests/xdcr/upgradeXDCR.py
@@ -286,11 +286,6 @@ def online_cluster_upgrade(self):
if not self.is_goxdcr_migration_successful(self.src_master):
self.fail("C1: Metadata migration failed after old nodes were removed")
- if float(self.initial_version[:2]) >= 3.0 and self._demand_encryption:
- if not self.is_ssl_over_memcached(self.src_master):
- self.fail("C1: After old nodes were replaced, C1 still uses "
- "proxy connection to C2 which is >= 3.0")
-
self._load_bucket(bucket_default, self.src_master, self.gen_update, 'create', exp=self._expires)
self._load_bucket(bucket_sasl, self.src_master, self.gen_update, 'create', exp=self._expires)
self._install(self.src_nodes)
@@ -314,6 +309,9 @@ def online_cluster_upgrade(self):
self.fail("C2: Metadata migration failed after old nodes were removed")
if float(self.initial_version[:2]) >= 3.0 and self._demand_encryption:
+ if not self.is_ssl_over_memcached(self.src_master):
+ self.fail("C1: After old nodes were replaced, C1 still uses "
+ "proxy connection to C2 which is >= 3.0")
if not self.is_ssl_over_memcached(self.dest_master):
self.fail("C2: After old nodes were replaced, C2 still uses "
"proxy connection to C1 which is >= 3.0")
Please sign in to comment.
Something went wrong with that request. Please try again.