def test_query_timeout(self): try: replica_conn = vtdb_test.get_replica_connection(shard_index=self.shard_index) except Exception, e: self.fail("Connection to shard0 replica failed with error %s" % str(e))
def test_tablet_restart_read(self): try: replica_conn = vtdb_test.get_replica_connection(shard_index=self.shard_index) except Exception, e: self.fail("Connection to shard %s replica failed with error %s" % (shard_names[self.shard_index], str(e)))
def test_tablet_restart_stream_execute(self): try: replica_conn = vtdb_test.get_replica_connection(shard_index=self.shard_index) except Exception, e: self.fail("Connection to shard0 replica failed with error %s" % str(e))
def test_restart_mysql_failure(self): return try: replica_conn = vtdb_test.get_replica_connection(shard_index=self.shard_index) except Exception, e: self.fail("Connection to shard0 replica failed with error %s" % str(e))