Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

CBQE-0:: fix failover test case failures

- name change of withOps to withMutationOps
- unwanted duplicated verification removed for unacked bytes

Change-Id: I7417b2c1c702029ed03f0104918f099a3e0ad364
Reviewed-on: http://review.couchbase.org/39671
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Parag Agarwal <agarwal.parag@gmail.com>
Tested-by: Parag Agarwal <agarwal.parag@gmail.com>
  • Loading branch information...
commit 2cf448aace24c56644227076f42662226eec0808 1 parent ca18425
@paragagarwal paragagarwal authored karma2ns committed
Showing with 3 additions and 3 deletions.
  1. +2 −2 pytests/basetestcase.py
  2. +1 −1  pytests/failover/failovertests.py
View
4 pytests/basetestcase.py
@@ -1007,7 +1007,7 @@ def compare_vbucket_seqnos(self, prev_vbucket_stats, servers, buckets, perNode=F
Method to compare vbucket information to a previously stored value
"""
compare = "=="
- if self.withOps:
+ if self.withMutationOps:
compare = "<="
comp_map = {}
comp_map["uuid"] = { 'type' : "string", 'operation': "=="}
@@ -1305,7 +1305,7 @@ def compare_failovers_logs(self, prev_failovers_stats, servers, buckets, perNode
"""
comp_map = {}
compare = "=="
- if self.withOps:
+ if self.withMutationOps:
compare = "<="
comp_map["id"] = { 'type' : "string", 'operation': "=="}
comp_map["seq"] = { 'type' : "long", 'operation' : compare}
View
2  pytests/failover/failovertests.py
@@ -392,7 +392,7 @@ def run_failover_operations_with_ops(self, chosen, failover_reason):
failed_over.result()
msg = "rebalance failed while removing failover nodes {0}".format(node.id)
self.assertTrue(self.rest.monitorRebalance(stop_if_loop=True), msg=msg)
- self.verify_unacked_bytes_all_buckets()
+
def load_initial_data(self):
""" Method to run operations Update/Delete/Create """
Please sign in to comment.
Something went wrong with that request. Please try again.