Beispiel #1
0
 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))
Beispiel #2
0
 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)))
Beispiel #3
0
 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))
Beispiel #4
0
 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))